BakedLightmapData

Inherits: Resource < Reference < Object

There is currently no description for this class. Please help us by contributing one!

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 = AABB( 0, 0, 0, 0, 0, 0 )

  • void set_bounds ( AABB value )

  • AABB get_bounds ( )

There is currently no description for this property. Please help us by contributing one!


Transform cell_space_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )

  • void set_cell_space_transform ( Transform value )

  • Transform get_cell_space_transform ( )

There is currently no description for this property. Please help us by contributing one!


int cell_subdiv = 1

  • void set_cell_subdiv ( int value )

  • int get_cell_subdiv ( )

There is currently no description for this property. Please help us by contributing one!


float energy = 1.0

  • void set_energy ( float value )

  • float get_energy ( )

Global energy multiplier for baked and dynamic capture objects. This can be changed at run-time without having to bake lightmaps again.

To adjust only the energy of indirect lighting (without affecting direct lighting or emissive materials), adjust BakedLightmap.bounce_indirect_energy and bake lightmaps again.


bool interior = false

  • void set_interior ( bool value )

  • bool is_interior ( )

Controls whether dynamic capture objects receive environment lighting or not.


PoolByteArray octree = PoolByteArray(  )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_user ( NodePath path, Resource lightmap, int lightmap_slice, Rect2 lightmap_uv_rect, int instance )

There is currently no description for this method. Please help us by contributing one!


void clear_data ( )

There is currently no description for this method. Please help us by contributing one!


void clear_users ( )

There is currently no description for this method. Please help us by contributing one!


int get_user_count ( ) const

There is currently no description for this method. Please help us by contributing one!


Resource get_user_lightmap ( int user_idx ) const

There is currently no description for this method. Please help us by contributing one!


NodePath get_user_path ( int user_idx ) const

There is currently no description for this method. Please help us by contributing one!