unreal.InterchangeSkeletalAnimationTrackNode¶
- class unreal.InterchangeSkeletalAnimationTrackNode(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InterchangeAnimationTrackBaseNodeClass 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_custom_source_timeline_animation_start_time() double or None¶
Get the source timeline animation start time. Return false if the attribute is not set. Note: This represent the DCC setup of the time for the animation. Optional: if not set CustomAnimationStartTime will be used
- Returns:
start_time (double):
- Return type:
double or None
- get_custom_source_timeline_animation_stop_time() double or None¶
Get the source timeline animation stop time. Return false if the attribute is not set. Note: This represent the DCC setup of the time for the animation. Optional: if not set CustomAnimationStopTime will be used
- Returns:
stop_time (double):
- Return type:
double 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
- set_animation_payload_key_for_scene_node_uid(scene_node_uid, unique_id, type) bool¶
Set Animation Payload Key for Scene Node Uid
- 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:
- set_custom_animation_stop_time(stop_time) bool¶
Set the animation stop time. Return false if the attribute could not be set.
- Parameters:
stop_time (double)
- Return type:
- set_custom_skeleton_node_uid(attribute_value) bool¶
Set the unique ID of the skeleton factory node. Return false if the attribute could not be set.
- set_custom_source_timeline_animation_start_time(start_time) bool¶
Set the source timeline animation start time. Return false if the attribute could not be set. Note: This represent the DCC setup of the time for the animation. Optional: if not set CustomAnimationStartTime will be used
- Parameters:
start_time (double)
- Return type:
- set_custom_source_timeline_animation_stop_time(stop_time) bool¶
Set the source timeline animation stop time. Return false if the attribute could not be set. Note: This represent the DCC setup of the time for the animation. Optional: if not set CustomAnimationStopTime will be used
- Parameters:
stop_time (double)
- Return type: