CubeMap

A CubeMap is a 6-sided 3D texture.

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.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

Constants
enum Constants
Flags
enum Flags
Side
enum Side
Storage
enum Storage

Functions

getFlags
long getFlags()
getHeight
long getHeight()

Returns the CubeMap's height.

getLossyStorageQuality
double getLossyStorageQuality()
getSide
Ref!Image getSide(long side)

Returns an Image for a side of the CubeMap using one of the side constants.

getStorage
CubeMap.Storage getStorage()
getWidth
long getWidth()

Returns the CubeMap's width.

opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(CubeMap other)
opEquals
bool opEquals(typeof(null) n)
setFlags
void setFlags(long flags)
setLossyStorageQuality
void setLossyStorageQuality(double quality)
setSide
void setSide(long side, Image image)

Sets an Image for a side of the CubeMap using one of the side constants.

setStorage
void setStorage(long mode)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

flags
long flags [@property getter]
long flags [@property setter]

The render flags for the CubeMap. See the flags constants for details.

lossyStorageQuality
double lossyStorageQuality [@property getter]
double lossyStorageQuality [@property setter]

The lossy storage quality of the CubeMap if the storage mode is set to constant STORAGE_COMPRESS_LOSSY.

storageMode
CubeMap.Storage storageMode [@property getter]
long storageMode [@property setter]

The CubeMap's storage mode. See storage constants.

Static functions

_new
CubeMap _new()

Construct a new instance of CubeMap. Note: use memnew!CubeMap instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta