VolumetricSampler.evaluateColor Method

Parent Object: VolumetricSampler
Defined in namespace "adsk::volume" and the header file is <Volume/Volumetric/VolumetricSampler.h>

Description

Evaluates the color of the model at the previously set sample points and returns the results.

Syntax

"volumetricSampler_var" is a variable referencing a VolumetricSampler object.

returnValue = volumetricSampler_var.evaluateColor()
"volumetricSampler_var" is a variable referencing a VolumetricSampler object.

#include <Volume/Volumetric/VolumetricSampler.h>

returnValue = volumetricSampler_var->evaluateColor();
"volumetricSampler_var" is a variable referencing a VolumetricSampler object.

returnValue = volumetricSampler_var.evaluateColor();

Return Value

Type Description
VolumetricColorSample[] An array of VolumetricColorSample objects that contain the results of sampling the volumetric model.

Version

Introduced in version May 2025