class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectRefCountedResource LightmapGIData
Contains baked lightmap and dynamic object probe data for LightmapGI.

LightmapGIData contains baked lightmap and dynamic object probe data for LightmapGI. It is replaced every time lightmaps are baked in LightmapGI.

TextureLayered light_texture<>():TextureLayered

The lightmap atlas texture generated by the lightmapper.

Deprecated. The lightmap atlas can now have multiple textures. See lightmap_textures.

TextureLayered[] lightmap_textures<>():TextureLayered[]

The lightmap atlas textures generated by the lightmapper.

void add_user<>( NodePath path=, path:NodePath=, Rect2 uv_scale=, uv_scale:Rect2=, int slice_index=, slice_index:int=, int sub_instance=, sub_instance:int=, ):void

Adds an object that is considered baked within this LightmapGIData.

void clear_users<>():void

Clear all objects that are considered baked within this LightmapGIData.

int get_user_count<>():int

Returns the number of objects that are considered baked within this LightmapGIData.

NodePath get_user_path<>( int user_idx=, user_idx:int=, ):NodePath

Returns the NodePath of the baked object at index user_idx.

bool is_using_spherical_harmonics<>():bool

If true, lightmaps were baked with directional information. See also LightmapGI.directional.

void set_uses_spherical_harmonics<>( bool uses_spherical_harmonics=, uses_spherical_harmonics:bool=, ):void

If uses_spherical_harmonics is true, tells the engine to treat the lightmap data as if it was baked with directional information.

Note: Changing this value on already baked lightmaps will not cause them to be baked again. This means the material appearance will look incorrect until lightmaps are baked again, in which case the value set here is discarded as the entire LightmapGIData resource is replaced by the lightmapper.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...