Click or drag to resize
SoVolumeDatadataRGBA Property

Contains true if the volume contains RGBA values rather than scalar values.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public SoSFBool dataRGBA { get; }

Property Value

Type: SoSFBool
Remarks

Default is false.

This field is set automatically by volume readers. If the application is setting an in-memory volume into the data field, the data field must be set to UNSIGNED_INT32 format and the dataRGBA field must be set to true.

Note that, for compatibility with older versions of Open Inventor, if the data is in-memory the the unsigned int values must contain ABGR values, not RGBA. Use the SbColor getPackedValueEndiannessOrder() method to convert values, not the getPackedValue() method.

NOTE: field available since Open Inventor 9.0

See Also