Instance Methodmigueldeicaza.swiftgodot 0.45.0SwiftGodot
clearUsers
Clear all objects that are considered baked within this LightmapGIData
.
final func clearUsers()
Other members in extension
Type members
Instance members
var lightTexture: TextureLayered?
The lightmap atlas texture generated by the lightmapper.
var lightmapTextures: ObjectCollection<TextureLayered>
The lightmap atlas textures generated by the lightmapper.
var usesSphericalHarmonics: Bool
func addUser(path: NodePath, uvScale: Rect2, sliceIndex: Int32, subInstance: Int32
) Adds an object that is considered baked within this
LightmapGIData
.func getUserCount(
) -> Int32 Returns the number of objects that are considered baked within this
LightmapGIData
.func getUserPath(userIdx: Int32
) -> NodePath Returns the
NodePath
of the baked object at indexuserIdx
.