Click or drag to resize
SoIndexedTexture2minValue Property

Specifies the range of values which is mapped onto the color map (see OIV.Inventor.Nodes.SoColorMap).

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoSFFloat minValue { get; }

Property Value

Type: SoSFFloat
Remarks

When OIV.Inventor.Nodes.SoIndexedTexture2.minValue and OIV.Inventor.Nodes.SoIndexedTexture2.maxValue are equal to 0 (the default), the entire range of the data type is mapped onto the color map, except in the case of float data. For example, for a color map of size N:

  • With unsigned byte values, [0-255] is mapped onto the color map [0 - N-1]

  • With unsigned short values, [0-65535] is mapped onto the color map [0 - N-1]

  • With signed short values, [-32768 - 32767] is mapped onto the color map [0 - N-1].

  • With float data type, [0-1] is mapped onto the color map [0 - N-1]

All values less than or equal to OIV.Inventor.Nodes.SoIndexedTexture2.minValue will be mapped to the first entry of the color map. Likewise, all values greater than or equal to OIV.Inventor.Nodes.SoIndexedTexture2.maxValue will be mapped to the last entry of the color map.

See Also