VolumetricColorSample.value Property

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

Description

Gets the color value at the sample point.

Syntax

"volumetricColorSample_var" is a variable referencing a VolumetricColorSample object.
# Get the value of the property.
propertyValue = volumetricColorSample_var.value
"volumetricColorSample_var" Is a variable referencing a VolumetricColorSample Object.
#include <Volume/Volumetric/VolumetricColorSample.h>

// Get the value of the property.
Color propertyValue = volumetricColorSample_var->value();
"volumetricColorSample_var" Is a variable referencing a VolumetricColorSample Object.
// Get the value of the property.
propertyValue = volumetricColorSample_var.value;

Property Value

This is a read only property whose value is a Color.

Version

Introduced in version May 2025