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 or an integer 0-5.

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

Returns the CubeMap's width.

opAssign
CubeMap opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(CubeMap other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
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 or an integer 0-5.

setStorage
void setStorage(long mode)

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 FLAG_* constants for details.

lossyStorageQuality
double lossyStorageQuality [@property setter]

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

lossyStorageQuality
double lossyStorageQuality [@property getter]

The lossy storage quality of the CubeMap if the storage mode is set to 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()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
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
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
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