class_bakedlight - dragonsoulz/godot 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 set_light ( RawArray light )
- RawArray get_light ( ) const
- void set_sampler_octree ( IntArray sampler_octree )
- IntArray get_sampler_octree ( ) const
- void add_lightmap ( Texture texture, Vector2 gen_size )
- 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_tint ( float tint )
- float get_tint ( ) const
- void set_saturation ( float saturation )
- float get_saturation ( ) const
- void set_ao_radius ( float ao_radius )
- float get_ao_radius ( ) const
- void set_ao_strength ( float ao_strength )
- float get_ao_strength ( ) const
- void set_format ( int format )
- int get_format ( ) const
- void set_transfer_lightmaps_only_to_uv2 ( bool enable )
- bool get_transfer_lightmaps_only_to_uv2 ( ) 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 = 5