W3cubDocs

/Godot 2.1

CubeMap

Inherits: Resource < Reference < Object

Category: Core

Brief Description

Member Functions

int get_flags ( ) const
int get_height ( ) const
float get_lossy_storage_quality ( ) const
RID get_rid ( ) const
Image get_side ( int side ) const
int get_storage ( ) const
int get_width ( ) const
void set_flags ( int flags )
void set_lossy_storage_quality ( float quality )
void set_side ( int side, Image image )
void set_storage ( int mode )

Numeric Constants

  • STORAGE_RAW = 0
  • STORAGE_COMPRESS_LOSSY = 1
  • STORAGE_COMPRESS_LOSSLESS = 2
  • SIDE_LEFT = 0
  • SIDE_RIGHT = 1
  • SIDE_BOTTOM = 2
  • SIDE_TOP = 3
  • SIDE_FRONT = 4
  • SIDE_BACK = 5
  • FLAG_MIPMAPS = 1
  • FLAG_REPEAT = 2
  • FLAG_FILTER = 4
  • FLAGS_DEFAULT = 7

Member Function Description

int get_flags ( ) const

int get_height ( ) const

float get_lossy_storage_quality ( ) const

RID get_rid ( ) const

Image get_side ( int side ) const

int get_storage ( ) const

int get_width ( ) const

void set_flags ( int flags )

void set_lossy_storage_quality ( float quality )

void set_side ( int side, Image image )

void set_storage ( int mode )

© 2014–2017 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/2.1/classes/class_cubemap.html