BakedLight

Inherits: Resource < Reference < Object

Category: Core

Brief Description

Member Functions

void add_lightmap ( Texture texture, Vector2 gen_size )
void clear_lightmaps ( )
void erase_lightmap ( int id )
float get_ao_radius ( ) const
float get_ao_strength ( ) const
bool get_bake_flag ( int flag ) const
int get_bounces ( ) const
float get_cell_extra_margin ( ) const
int get_cell_subdivision ( ) const
float get_edge_damp ( ) const
float get_energy_multiplier ( ) const
int get_format ( ) const
float get_gamma_adjust ( ) const
int get_initial_lattice_subdiv ( ) const
RawArray get_light ( ) const
int get_mode ( ) const
float get_normal_damp ( ) const
RawArray get_octree ( ) const
float get_plot_size ( ) const
IntArray get_sampler_octree ( ) const
float get_saturation ( ) const
float get_tint ( ) const
bool get_transfer_lightmaps_only_to_uv2 ( ) const
void set_ao_radius ( float ao_radius )
void set_ao_strength ( float ao_strength )
void set_bake_flag ( int flag, bool enabled )
void set_bounces ( int bounces )
void set_cell_extra_margin ( float cell_extra_margin )
void set_cell_subdivision ( int cell_subdivision )
void set_edge_damp ( float edge_damp )
void set_energy_multiplier ( float energy_multiplier )
void set_format ( int format )
void set_gamma_adjust ( float gamma_adjust )
void set_initial_lattice_subdiv ( int cell_subdivision )
void set_light ( RawArray light )
void set_mode ( int mode )
void set_normal_damp ( float normal_damp )
void set_octree ( RawArray octree )
void set_plot_size ( float plot_size )
void set_sampler_octree ( IntArray sampler_octree )
void set_saturation ( float saturation )
void set_tint ( float tint )
void set_transfer_lightmaps_only_to_uv2 ( bool enable )

Numeric Constants

  • MODE_OCTREE = 0
  • MODE_LIGHTMAPS = 1
  • BAKE_DIFFUSE = 0
  • BAKE_SPECULAR = 1
  • BAKE_TRANSLUCENT = 2
  • BAKE_CONSERVE_ENERGY = 3
  • BAKE_MAX = 5

Member Function Description

  • void clear_lightmaps ( )
  • void erase_lightmap ( int id )
  • float get_ao_radius ( ) const
  • float get_ao_strength ( ) const
  • bool get_bake_flag ( int flag ) const
  • int get_bounces ( ) const
  • float get_cell_extra_margin ( ) const
  • int get_cell_subdivision ( ) const
  • float get_edge_damp ( ) const
  • float get_energy_multiplier ( ) const
  • int get_format ( ) const
  • float get_gamma_adjust ( ) const
  • int get_initial_lattice_subdiv ( ) const
  • int get_mode ( ) const
  • float get_normal_damp ( ) const
  • float get_plot_size ( ) const
  • float get_saturation ( ) const
  • float get_tint ( ) const
  • bool get_transfer_lightmaps_only_to_uv2 ( ) const
  • void set_ao_radius ( float ao_radius )
  • void set_ao_strength ( float ao_strength )
  • void set_bake_flag ( int flag, bool enabled )
  • void set_bounces ( int bounces )
  • void set_cell_extra_margin ( float cell_extra_margin )
  • void set_cell_subdivision ( int cell_subdivision )
  • void set_edge_damp ( float edge_damp )
  • void set_energy_multiplier ( float energy_multiplier )
  • void set_format ( int format )
  • void set_gamma_adjust ( float gamma_adjust )
  • void set_initial_lattice_subdiv ( int cell_subdivision )
  • void set_mode ( int mode )
  • void set_normal_damp ( float normal_damp )
  • void set_plot_size ( float plot_size )
  • void set_sampler_octree ( IntArray sampler_octree )
  • void set_saturation ( float saturation )
  • void set_tint ( float tint )
  • void set_transfer_lightmaps_only_to_uv2 ( bool enable )