Struct CubeMap
A CubeMap is a 6-sided 3D texture.
struct CubeMap
;
A 6-sided 3D texture typically used for faking reflections. It can be used to make an object look as if it's reflecting its surroundings. This usually delivers much better performance than other reflection methods.
Properties
Name | Type | Description |
---|---|---|
flags [get, set]
|
long | The render flags for the CubeMap . See the flags constants for details.
|
lossyStorageQuality [get, set]
|
double | The lossy storage quality of the CubeMap if the storage mode is set to constant STORAGE_COMPRESS_LOSSY .
|
storageMode [get, set]
|
CubeMap | The CubeMap 's storage mode. See storage constants.
|
Methods
Name | Description |
---|---|
getFlags
|
|
getHeight
|
Returns the CubeMap 's height.
|
getLossyStorageQuality
|
|
getSide
|
Returns an Image for a side of the CubeMap using one of the side constants.
|
getStorage
|
|
getWidth
|
Returns the CubeMap 's width.
|
setFlags
|
|
setLossyStorageQuality
|
|
setSide
|
Sets an Image for a side of the CubeMap using one of the side constants.
|
setStorage
|
Enums
Name | Description |
---|---|
Constants
|
|
Flags
|
|
Side
|
|
Storage
|