volumevoxeldiameter
expression function
Returns the approximage diameter of a volume voxel in world space.
See also: volumeindex, volumesample
Usage
volumevoxeldiameter(surface_node, prim_id)
surface_node is the full path of the surface node. prim_id is the primitive number of the volume primitive within the surface node.
Returns 0 if out of bound values are specified, or the given primitive is not a volume.
Examples
volumevoxeldiameter("/obj/geo1/isooffset1", 0)