VolumetricSampler.sampleAxes Property

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

Description

Gets the axes of the current structured sampling layout. For plane grid sampling this returns [primaryAxis, secondaryAxis]. For bounding box grid sampling this returns [xAxis, yAxis, zAxis]. For unstructured sampling this returns an empty array.

Syntax

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

// Get the value of the property.
std::vector<Vector3D> propertyValue = volumetricSampler_var->sampleAxes();
"volumetricSampler_var" Is a variable referencing a VolumetricSampler Object.
// Get the value of the property.
propertyValue = volumetricSampler_var.sampleAxes;

Property Value

This is a read only property whose value is an array of type Vector3D.

Version

Introduced in version July 2026