BakedLightmapData

    void

    add_user ( path, Resource lightmap, lightmap_slice, Rect2 lightmap_uv_rect, instance )

    void

    clear_data ( )

    ( )

    int

    ( ) const

    Resource

    ( int user_idx ) const

    get_user_path ( user_idx ) const


    • 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

    • energy

    Default

    1.0

    Setter

    set_energy(value)

    Getter

    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.


    • interior

    Controls whether dynamic capture objects receive environment lighting or not.


    Default

    PoolByteArray(  )

    Setter

    set_octree(value)

    Getter

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

    • void clear_data ( )

    • void clear_users ( )

    • int get_user_count ( ) const


    • get_user_path ( int user_idx ) const