SoVolumeDatadataRGBA Property |
Contains true if the volume contains RGBA values rather than scalar values.
Namespace: OIV.VolumeViz.Nodes
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 |
---|
Field available since Open Inventor 9.0 |