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.
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
Resource get_user_lightmap ( int user_idx ) const
NodePath get_user_path ( int user_idx ) const
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_bakedlightmapdata.html