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: 2023.1.3.0 (2023.1.3)
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 OIV.VolumeViz.Nodes.SoVolumeData.data field, the OIV.VolumeViz.Nodes.SoVolumeData.data field must be set to UNSIGNED_INT32 format and the OIV.VolumeViz.Nodes.SoVolumeData.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 OIV.Inventor.SbColor getPackedValueEndiannessOrder() method to convert values, not the getPackedValue() method.

Note Note

Field available since Open Inventor 9.0

See Also