Cmap
C++ | Python |
---|---|
Cmaxwell::CmultiValue::Cmap | Cmap |
Cmap stores all the information of a map.
Enumerations
Properties
Type | Name | Description |
---|---|---|
byte | type | Map type. Default = MAP_TYPE_VALUE. |
real | value | Default = 0. |
Crgb | rgb | Init to medium grey 127, 127, 127. |
char* | pFileName | Texture path. |
Cpoint2D | scale | |
Cpoint2D | offset | |
dword | uvwChannel | |
byte | typeInterpolation | |
byte | uIsTiled | |
byte | vIsTiled | |
byte | invert | |
byte | doGammaCorrection | |
byte | useAbsoluteUnits | |
byte | normalMappingFlipRed | |
byte | normalMappingFlipGreen | |
byte | normalMappingFullRangeBlue | |
float | useAlpha | |
float | saturation | Range: [-1.0, 1.0]. |
float | contrast | Range: [-1.0, 1.0]. |
float | brightness | Range: [-1.0, 1.0]. |
float | clampMin | Range: [0.0, 1.0]. |
float | clampMax | Range: [0.0, 1.0]. |
CextensionList | extensionList |
Methods
Name | Description |
---|---|
Cmap | Class constructor. |
Cmap
Class constructor.
Language | Syntax |
---|---|
C++ | Cmap() |
Python | Cmap() |
Map interpolation
Texture interpolation values.
Value | C++ | Python | Description |
---|---|---|---|
0 | Cmaxwell::Cmultivalue::Cmap::TYPE_INTERPOLATION_BOX | Cmap.TYPE_INTERPOLATION_BOX | Interpolation off. |
1 | Cmaxwell::Cmultivalue::Cmap::TYPE_INTERPOLATION_CUADRATIC | Cmap.TYPE_INTERPOLATION_CUADRATIC | Interpolation on. |