forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_environment
reduz edited this page Feb 23, 2014
·
13 revisions
#####Inherits: Resource
- void
set_background
( int bgmode ) -
int
get_background
( ) const - void
set_background_param
( int param, var value ) - void
get_background_param
( int param ) const - void
set_enable_fx
( int effect, bool enabled ) -
bool
is_fx_enabled
( int effect ) const - void
fx_set_param
( int param, var value ) - void
fx_get_param
( int param ) const
- BG_KEEP = 0
- BG_DEFAULT_COLOR = 1
- BG_COLOR = 2
- BG_TEXTURE = 3
- BG_CUBEMAP = 4
- BG_TEXTURE_RGBE = 5
- BG_CUBEMAP_RGBE = 6
- BG_MAX = 7
- BG_PARAM_COLOR = 0
- BG_PARAM_TEXTURE = 1
- BG_PARAM_CUBEMAP = 2
- BG_PARAM_ENERGY = 3
- BG_PARAM_MAX = 5
- FX_GLOW = 0
- FX_DOF_BLUR = 1
- FX_HDR = 2
- FX_FOG = 3
- FX_BCS = 4
- FX_GAMMA = 5
- FX_MAX = 6
- FX_PARAM_GLOW_BLUR_PASSES = 0
- FX_PARAM_GLOW_BLOOM = 1
- FX_PARAM_GLOW_BLOOM_TRESHOLD = 2
- FX_PARAM_DOF_BLUR_PASSES = 3
- FX_PARAM_DOF_BLUR_BEGIN = 4
- FX_PARAM_DOF_BLUR_RANGE = 5
- FX_PARAM_HDR_EXPOSURE = 6
- FX_PARAM_HDR_SCALAR = 7
- FX_PARAM_HDR_GLOW_TRESHOLD = 8
- FX_PARAM_HDR_GLOW_SCALE = 9
- FX_PARAM_HDR_MIN_LUMINANCE = 10
- FX_PARAM_HDR_MAX_LUMINANCE = 11
- FX_PARAM_HDR_EXPOSURE_ADJUST_SPEED = 12
- FX_PARAM_FOG_BEGIN = 13
- FX_PARAM_FOG_ATTENUATION = 16
- FX_PARAM_FOG_BEGIN_COLOR = 14
- FX_PARAM_FOG_END_COLOR = 15
- FX_PARAM_FOG_BG = 17
- FX_PARAM_BCS_BRIGHTNESS = 18
- FX_PARAM_BCS_CONTRAST = 19
- FX_PARAM_BCS_SATURATION = 20
- FX_PARAM_GAMMA = 21
- FX_PARAM_MAX = 22