Click or drag to resize
SoTransferFunctioncolorMapType Property

ColorMap type (number of color components).

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public SoSFEnum<SoTransferFunctionColorMapTypes> colorMapType { get; }

Property Value

Type: SoSFEnumSoTransferFunctionColorMapTypes
Remarks

. Default is RGBA.

ALPHA means one alpha component per color.

LUM_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.

RGBA means four components per color, ordered red, green, blue, then alpha.

An alpha value equal to zero means "fully transparent", an alpha value equal to one means "completely opaque" (exactly the inverse of transparency in OIV.Inventor.Nodes.SoMaterial).

See Also