Click or drag to resize
SoColorMapcolorMapFormat Property

Indicates the format of the color map (number of color components).

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoSFEnum<SoColorMapColorMapFormats> colorMapFormat { get; }

Property Value

Type: SoSFEnumSoColorMapColorMapFormats
Remarks

. Default is RGB_ALPHA.

LUMINANCE means one component per color for a grayscale color map.

ALPHA means one alpha component per color.

LUMINANCE_ALPHA means two components per color, luminance and alpha. In such a case the colorMap float array contains a list of two floats. Index 0 is luminance, index 1 is alpha, index 2 is luminance, index 3 is alpha and so on.

RGB means three components per color, ordered red first, then green and blue.

RGB_ALPHA means four components per color, ordered red first, then green, blue, and alpha.

An alpha value equal to zero means "fully transparent", an alpha value equal to one means "opaque".

See Also