unreal.AnimToTextureBPLibrary
¶
- class unreal.AnimToTextureBPLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibrary
Converts a series of animation frames into a Vertex Animation Texture (VAT)
The texture can store Vertex positions and normals or Bone positions and rotations.
C++ Source:
Plugin: AnimToTexture
Module: AnimToTextureEditor
File: AnimToTextureBPLibrary.h
- classmethod animation_to_texture(data_asset) bool ¶
Bakes Animation Data into Textures.
- Parameters:
data_asset (AnimToTextureDataAsset) –
- Return type:
- classmethod convert_skeletal_mesh_to_static_mesh(skeletal_mesh, package_name, lod_index=-1) StaticMesh ¶
Utility for converting SkeletalMesh into a StaticMesh
- Parameters:
skeletal_mesh (SkeletalMesh) –
package_name (str) –
lod_index (int32) –
- Return type:
- classmethod set_light_map_index(static_mesh, lod_index, lightmap_index=1, generate_lightmap_u_vs=True) bool ¶
Utility for setting a StaticMesh LightMapIndex.
- Parameters:
static_mesh (StaticMesh) –
lod_index (int32) –
lightmap_index (int32) –
generate_lightmap_u_vs (bool) –
- Return type:
- classmethod update_material_instance_from_data_asset(data_asset, material_instance, material_parameter_association=MaterialParameterAssociation.LAYER_PARAMETER) None ¶
Updates a material’s parameters to match those of an AnimToTexture DataAsset
- Parameters:
data_asset (AnimToTextureDataAsset) –
material_instance (MaterialInstanceConstant) –
material_parameter_association (MaterialParameterAssociation) –