BakedLightmapData

Inherits: Resource < Reference < Object

Properties

AABBboundsAABB( 0, 0, 0, 0, 0, 0 )
Transformcell_space_transformTransform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
intcell_subdiv1
floatenergy1.0
PoolByteArrayoctreePoolByteArray(  )

Methods

voidadd_user ( NodePath path, Texture lightmap, int instance )
voidclear_users ( )
intget_user_count ( ) const
Textureget_user_lightmap ( int user_idx ) const
NodePathget_user_path ( int user_idx ) const

Property Descriptions

DefaultAABB( 0, 0, 0, 0, 0, 0 )
Setterset_bounds(value)
Getterget_bounds()

DefaultTransform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
Setterset_cell_space_transform(value)
Getterget_cell_space_transform()

  • int cell_subdiv
Default1
Setterset_cell_subdiv(value)
Getterget_cell_subdiv()

Default1.0
Setterset_energy(value)
Getterget_energy()

DefaultPoolByteArray(  )
Setterset_octree(value)
Getterget_octree()

Method Descriptions


  • void clear_users ( )

  • int get_user_count ( ) const


doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:29:20. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.