unreal.AnimToTextureInstancePlaybackLibrary
¶
- class unreal.AnimToTextureInstancePlaybackLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibrary
Anim to Texture Instance Playback Library
C++ Source:
Plugin: AnimToTexture
Module: AnimToTexture
File: AnimToTextureInstancePlaybackHelpers.h
- classmethod allocate_instance_data(instance_data, count) AnimToTextureInstanceData ¶
Allocate Instance Data
- Parameters:
instance_data (AnimToTextureInstanceData) –
count (int32) –
- Returns:
instance_data (AnimToTextureInstanceData):
- Return type:
- classmethod anim_state_from_data_asset(data_asset, state_index) AnimToTextureAnimState or None ¶
Anim State from Data Asset
- Parameters:
data_asset (AnimToTextureDataAsset) –
state_index (int32) –
- Returns:
anim_state (AnimToTextureAnimState):
- Return type:
AnimToTextureAnimState or None
- classmethod batch_update_instanced_mesh_component(instanced_mesh_component, instance_data) AnimToTextureInstanceData ¶
Batch Update Instanced Mesh Component
- Parameters:
instanced_mesh_component (InstancedStaticMeshComponent) –
instance_data (AnimToTextureInstanceData) –
- Returns:
instance_data (AnimToTextureInstanceData):
- Return type:
- classmethod get_instance_playback_data(instance_data, instance_index) AnimToTextureInstancePlaybackData or None ¶
Get Instance Playback Data
- Parameters:
instance_data (AnimToTextureInstanceData) –
instance_index (int32) –
- Returns:
instance_playback_data (AnimToTextureInstancePlaybackData):
- Return type:
- classmethod get_instance_transform(instance_data, instance_index) Transform or None ¶
Get Instance Transform
- Parameters:
instance_data (AnimToTextureInstanceData) –
instance_index (int32) –
- Returns:
instance_transform (Transform):
- Return type:
Transform or None
- classmethod setup_instanced_mesh_component(instanced_mesh_component, instance_data, num_instances) AnimToTextureInstanceData ¶
Setup Instanced Mesh Component
- Parameters:
instanced_mesh_component (InstancedStaticMeshComponent) –
instance_data (AnimToTextureInstanceData) –
num_instances (int32) –
- Returns:
instance_data (AnimToTextureInstanceData):
- Return type:
- classmethod update_instance_data(instance_data, instance_index, playback_data, transform) AnimToTextureInstanceData or None ¶
Update Instance Data
- Parameters:
instance_data (AnimToTextureInstanceData) –
instance_index (int32) –
playback_data (AnimToTextureInstancePlaybackData) –
transform (Transform) –
- Returns:
instance_data (AnimToTextureInstanceData):
- Return type:
AnimToTextureInstanceData or None