BakedLightmapData
Inherits: Resource < Reference < Object
Properties
| ||
| ||
| ||
| ||
| ||
|
Methods
void | add_user ( NodePath path, Resource lightmap, int lightmap_slice, Rect2 lightmap_uv_rect, int instance ) |
void | clear_data ( ) |
void | clear_users ( ) |
get_user_count ( ) const | |
get_user_lightmap ( int user_idx ) const | |
get_user_path ( int user_idx ) const |
Property Descriptions
- AABB bounds
Default |
|
Setter | set_bounds(value) |
Getter | get_bounds() |
- Transform cell_space_transform
Default |
|
Setter | set_cell_space_transform(value) |
Getter | get_cell_space_transform() |
- int cell_subdiv
Default |
|
Setter | set_cell_subdiv(value) |
Getter | get_cell_subdiv() |
- float energy
Default |
|
Setter | set_energy(value) |
Getter | get_energy() |
Global energy multiplier for baked and dynamic capture objects. This can be changed at run-time without having to bake lightmaps again.
To adjust only the energy of indirect lighting (without affecting direct lighting or emissive materials), adjust BakedLightmap.bounce_indirect_energy and bake lightmaps again.
- bool interior
Default |
|
Setter | set_interior(value) |
Getter | is_interior() |
Controls whether dynamic capture objects receive environment lighting or not.
- PoolByteArray octree
Default |
|
Setter | set_octree(value) |
Getter | get_octree() |
Method Descriptions
- void add_user ( NodePath path, Resource lightmap, int lightmap_slice, Rect2 lightmap_uv_rect, int instance )
- void clear_data ( )
- void clear_users ( )
- int get_user_count ( ) const