Click or drag to resize
SoColorMapmin Property

This field allow to remap the color map such that only data values ranging from min to max will be mapped to the color map.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SoSFFloat min { get; }

Property Value

Type: SoSFFloat
Remarks

min and max must be between minValue and maxValue of the corresponding OIV.Inventor.Nodes.SoIndexedTexture2 node.

Values less than min and greater than max will be set to colorMap[0] and colorMap[colorMap.getNum()-1] respectively. If min is less than the minimum of the indexed texture minValue , it will be clamped to this minimum. If max is greater than the maximum of the indexed texture maxValue , it will be clamped to this maximum. When OIV.Inventor.Nodes.SoColorMap.min and OIV.Inventor.Nodes.SoColorMap.max are equal to 0 (the default), the entire range of data values is used.

Setting (min,max) to (64,192) while the predefined STANDARD color map is selected and in the case of a UNSIGNED_BYTE indexed texture will make the color map as shown:

See Also