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

bool

interior

false

PoolByteArray

octree

PoolByteArray(  )

Methods

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

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()

Global energy multiplier for baked and dynamic capture objects.

bool interior

Default

false

Setter

set_interior(value)

Getter

is_interior()

Controls whether dynamic capture objects receive environment lighting or not.

PoolByteArray octree

Default

PoolByteArray(  )

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