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

NameTypeDescription
flags[get, set] longThe render flags for the CubeMap. See the flags constants for details.
lossyStorageQuality[get, set] doubleThe lossy storage quality of the CubeMap if the storage mode is set to constant STORAGE_COMPRESS_LOSSY.
storageMode[get, set] CubeMap.StorageThe CubeMap's storage mode. See storage constants.

Methods

NameDescription
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

NameDescription
Constants
Flags
Side
Storage