unreal.InterchangeSkeletalAnimationTrackNode
¶
- class unreal.InterchangeSkeletalAnimationTrackNode(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InterchangeAnimationTrackBaseNode
Class to hold onto the relationships between a set of animation tracks and the bones, morph targets of a skeleton.
C++ Source:
Plugin: Interchange
Module: InterchangeNodes
File: InterchangeAnimationTrackSetNode.h
- get_custom_animation_sample_rate() double or None ¶
Get the animation sample rate. Return false if the attribute is not set.
- Returns:
sample_rate (double):
- Return type:
double or None
- get_custom_animation_start_time() double or None ¶
Get the animation start time. Return false if the attribute is not set.
- Returns:
start_time (double):
- Return type:
double or None
- get_custom_animation_stop_time() double or None ¶
Get the animation stop time. Return false if the attribute is not set.
- Returns:
stop_time (double):
- Return type:
double or None
- get_custom_skeleton_node_uid() str or None ¶
Get the unique ID of the skeleton factory node. Return false if the attribute is not set.
- Returns:
attribute_value (str):
- Return type:
str or None
- get_morph_target_node_animation_payload_keys() -> (out_morph_target_node_animation_payload_key_uids=Map[str, str], out_morph_target_node_animation_payload_key_types=Map[str, uint8])¶
Get Morph Target Node Animation Payload Keys
- Returns:
out_morph_target_node_animation_payload_key_uids (Map[str, str]):
out_morph_target_node_animation_payload_key_types (Map[str, uint8]):
- Return type:
tuple
- get_scene_node_animation_payload_keys() -> (out_scene_node_animation_payload_key_uids=Map[str, str], out_scene_node_animation_payload_key_types=Map[str, uint8])¶
Get Scene Node Animation Payload Keys
- Returns:
out_scene_node_animation_payload_key_uids (Map[str, str]):
out_scene_node_animation_payload_key_types (Map[str, uint8]):
- Return type:
tuple
- set_animation_payload_key_for_morph_target_node_uid(morph_target_node_uid, unique_id, type) bool ¶
Set Animation Payload Key for Morph Target Node Uid
- Parameters:
morph_target_node_uid (str) –
unique_id (str) –
type (InterchangeAnimationPayLoadType) –
- Return type:
- set_animation_payload_key_for_scene_node_uid(scene_node_uid, unique_id, type) bool ¶
Set Animation Payload Key for Scene Node Uid
- Parameters:
scene_node_uid (str) –
unique_id (str) –
type (InterchangeAnimationPayLoadType) –
- Return type:
- set_custom_animation_sample_rate(sample_rate) bool ¶
Set the animation sample rate. Return false if the attribute could not be set.
- Parameters:
sample_rate (double) –
- Return type:
- set_custom_animation_start_time(start_time) bool ¶
Set the animation start time. Return false if the attribute could not be set.
- Parameters:
start_time (double) –
- Return type: