BakedLightmapData
Inherits: Resource < Reference < Object
Properties
| AABB | bounds | AABB( 0, 0, 0, 0, 0, 0 ) |
| Transform | cell_space_transform | Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) |
| int | cell_subdiv | 1 |
| float | energy | 1.0 |
| PoolByteArray | octree | PoolByteArray( ) |
Methods
| void | add_user ( NodePath path, Texture lightmap, int instance ) |
| void | clear_users ( ) |
| int | get_user_count ( ) const |
| Texture | get_user_lightmap ( int user_idx ) const |
| NodePath | get_user_path ( int user_idx ) const |
Property Descriptions
AABB bounds
| Default | AABB( 0, 0, 0, 0, 0, 0 ) |
| Setter | set_bounds(value) |
| Getter | get_bounds() |
Transform cell_space_transform
| Default | Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) |
| Setter | set_cell_space_transform(value) |
| Getter | get_cell_space_transform() |
int cell_subdiv
| Default | 1 |
| Setter | set_cell_subdiv(value) |
| Getter | get_cell_subdiv() |
float energy
| Default | 1.0 |
| Setter | set_energy(value) |
| Getter | get_energy() |
PoolByteArray octree
| Default | PoolByteArray( ) |
| Setter | set_octree(value) |
| Getter | get_octree() |
Method Descriptions
void add_user ( NodePath path, Texture lightmap, int instance )
void clear_users ( )
int get_user_count ( ) const
Texture get_user_lightmap ( int user_idx ) const
NodePath get_user_path ( int user_idx ) const
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_bakedlightmapdata.html