VolumetricColorSample.isValid Property

Parent Object: VolumetricColorSample

Derived from: VolumetricSample.isValid


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

Description

Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.

Syntax

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

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

Property Value

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

Version

Introduced in version May 2025