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