vrdTextureBake¶
-
class
vrdTextureBake
¶
(Inherits vrdSceneObject
)
This class provides functionality for texture bake data of a single geometry node.
Summary¶
Functions¶
-
vrdTextureBake.
clearBake
()¶ Deletes the texture bake image(s) of this node.
-
vrdTextureBake.
createBaseLightmap
()¶ Returns: Creates an empty base lightmap object or returns the existing object if there is already one. It can be used for loading lightmap images. Return type: vrdLightmap
-
vrdTextureBake.
createSeparateLightmap
()¶ Returns: Creates an empty separate lightmap object or returns the existing object if there is already one. It can be used for loading lightmap images. Return type: vrdLightmap
-
vrdTextureBake.
deleteBaseLightmap
()¶ Deletes the base lightmap of this node.
-
vrdTextureBake.
deleteSeparateLightmap
()¶ Deletes the separate lightmap of this node.
-
vrdTextureBake.
getBaseLightmap
()¶ Returns: Returns the base lightmap. Return type: vrdLightmap
-
vrdTextureBake.
getLightmap
()¶ Returns: The first existing lightmap object. Invalid if none existing. Return type: vrdLightmap
-
vrdTextureBake.
getLightmaps
()¶ Returns: List of lightmaps on this node. The base lightmap is stored at index 0, the separate lightmap at index 1 of the list. Return type: List[vrdLightmap]
-
vrdTextureBake.
getSeparateLightmap
()¶ Returns: Returns the separate lightmap. Return type: vrdLightmap