class_bakedlight - seraph526/godot-se GitHub Wiki
BakedLight
####Inherits: Resource ####Category: Core
Brief Description
Member Functions
- void set_mode ( int mode )
- int get_mode ( ) const
- void set_octree ( RawArray octree )
- RawArray get_octree ( ) const
- void add_lightmap ( Texture texture, int id )
- void erase_lightmap ( int id )
- void clear_lightmaps ( )
- void set_cell_subdivision ( int cell_subdivision )
- int get_cell_subdivision ( ) const
- void set_initial_lattice_subdiv ( int cell_subdivision )
- int get_initial_lattice_subdiv ( ) const
- void set_plot_size ( float plot_size )
- float get_plot_size ( ) const
- void set_bounces ( int bounces )
- int get_bounces ( ) const
- void set_cell_extra_margin ( float cell_extra_margin )
- float get_cell_extra_margin ( ) const
- void set_edge_damp ( float edge_damp )
- float get_edge_damp ( ) const
- void set_normal_damp ( float normal_damp )
- float get_normal_damp ( ) const
- void set_format ( int format )
- int get_format ( ) const
- void set_energy_multiplier ( float energy_multiplier )
- float get_energy_multiplier ( ) const
- void set_gamma_adjust ( float gamma_adjust )
- float get_gamma_adjust ( ) const
- void set_bake_flag ( int flag, bool enabled )
- bool get_bake_flag ( int flag ) const
Numeric Constants
- MODE_OCTREE = 0
- MODE_LIGHTMAPS = 1
- BAKE_DIFFUSE = 0
- BAKE_SPECULAR = 1
- BAKE_TRANSLUCENT = 2
- BAKE_CONSERVE_ENERGY = 3
- BAKE_MAX = 4