unreal.IKRetargeter
¶
- class unreal.IKRetargeter(outer: Optional[Object] = None, name: Union[Name, str] = 'None')¶
Bases:
Object
C++ Source:
Plugin: IKRig
Module: IKRig
File: IKRetargeter.h
Editor Properties: (see get_editor_property/set_editor_property)
chain_draw_size
(float): [Read-Write] Chain Draw Size: The visual size of the IK goals in the viewport.chain_draw_thickness
(float): [Read-Write] Chain Draw Thickness: The thickness of lines on the IK goals in the viewport.debug_draw
(bool): [Read-Write] Debug Draw: Toggle debug drawing for retargeting in the viewport.draw_final_goals
(bool): [Read-Write] Draw Final Goals: Draw final IK goal locations.draw_source_locations
(bool): [Read-Write] Draw Source Locations: Draw goal locations from source skeleton.source_ik_rig_asset
(IKRigDefinition): [Read-Write] Source IKRig Asset: The rig to copy animation FROM.source_mesh_offset
(Vector): [Read-Write] Source Mesh Offset: The offset applied to the source mesh in the editor viewport.source_preview_mesh
(SkeletalMesh): [Read-Write] Source Preview Mesh: Optional. Override the Skeletal Mesh to copy animation from. Uses the preview mesh from the Source IK Rig asset by default.target_ik_rig_asset
(IKRigDefinition): [Read-Write] Target IKRig Asset: The rig to copy animation TO.target_mesh_offset
(Vector): [Read-Write] Target Mesh Offset: The offset applied to the target mesh in the editor viewport.target_mesh_scale
(float): [Read-Write] Target Mesh Scale: Scale the target mesh in the viewport for easier visualization next to the source.target_preview_mesh
(SkeletalMesh): [Read-Write] Target Preview Mesh: Optional. Override the Skeletal Mesh to preview the retarget on. Uses the preview mesh from the Target IK Rig asset by default.
- classmethod get_chain_settings_from_retarget_asset(retarget_asset, target_chain_name, optional_profile_name) TargetChainSettings ¶
Returns the chain settings associated with a given target chain in an IK Retargeter Asset using the given profile name (optional)
- Parameters:
retarget_asset (IKRetargeter) –
target_chain_name (Name) –
optional_profile_name (Name) –
- Return type:
- classmethod get_chain_settings_from_retarget_profile(retarget_profile, target_chain_name) -> (TargetChainSettings, retarget_profile=RetargetProfile)¶
Returns the chain settings associated with a given target chain in the supplied Retarget Profile.
- Parameters:
retarget_profile (RetargetProfile) –
target_chain_name (Name) –
- Returns:
retarget_profile (RetargetProfile):
- Return type:
- classmethod get_chain_using_goal_from_retarget_asset(retarget_asset, ik_goal_name) TargetChainSettings ¶
Returns the chain settings associated with a given Goal in an IK Retargeter Asset using the given profile name (optional)
- Parameters:
retarget_asset (IKRetargeter) –
ik_goal_name (Name) –
- Return type:
- classmethod get_global_settings_from_retarget_asset(retarget_asset, optional_profile_name) RetargetGlobalSettings ¶
Returns the global settings in an IK Retargeter Asset using the given profile name (optional)
- Parameters:
retarget_asset (IKRetargeter) –
optional_profile_name (Name) –
- Returns:
out_settings (RetargetGlobalSettings):
- Return type:
- classmethod get_global_settings_from_retarget_profile(retarget_profile) -> (RetargetGlobalSettings, retarget_profile=RetargetProfile)¶
Returns the global settings in the supplied Retarget Profile.
- Parameters:
retarget_profile (RetargetProfile) –
- Returns:
retarget_profile (RetargetProfile):
- Return type:
- classmethod get_root_settings_from_retarget_asset(retarget_asset, optional_profile_name) TargetRootSettings ¶
Returns the root settings in an IK Retargeter Asset using the given profile name (optional)
- Parameters:
retarget_asset (IKRetargeter) –
optional_profile_name (Name) –
- Returns:
out_settings (TargetRootSettings):
- Return type:
- classmethod get_root_settings_from_retarget_profile(retarget_profile) -> (TargetRootSettings, retarget_profile=RetargetProfile)¶
Returns the root settings in the supplied Retarget Profile.
- Parameters:
retarget_profile (RetargetProfile) –
- Returns:
retarget_profile (RetargetProfile):
- Return type:
- classmethod set_chain_fk_settings_in_retarget_profile(retarget_profile, fk_settings, target_chain_name) RetargetProfile ¶
Set the chain FK settings in a retarget profile (will set bApplyChainSettings to true).
- Parameters:
retarget_profile (RetargetProfile) –
fk_settings (TargetChainFKSettings) –
target_chain_name (Name) –
- Returns:
retarget_profile (RetargetProfile):
- Return type:
- classmethod set_chain_ik_settings_in_retarget_profile(retarget_profile, ik_settings, target_chain_name) RetargetProfile ¶
Set the chain IK settings in a retarget profile (will set bApplyChainSettings to true).
- Parameters:
retarget_profile (RetargetProfile) –
ik_settings (TargetChainIKSettings) –
target_chain_name (Name) –
- Returns:
retarget_profile (RetargetProfile):
- Return type:
- classmethod set_chain_settings_in_retarget_profile(retarget_profile, chain_settings, target_chain_name) RetargetProfile ¶
Set the chain settings in a retarget profile (will set bApplyChainSettings to true).
- Parameters:
retarget_profile (RetargetProfile) –
chain_settings (TargetChainSettings) –
target_chain_name (Name) –
- Returns:
retarget_profile (RetargetProfile):
- Return type:
- classmethod set_chain_speed_plant_settings_in_retarget_profile(retarget_profile, speed_plant_settings, target_chain_name) RetargetProfile ¶
Set the chain Speed Plant settings in a retarget profile (will set bApplyChainSettings to true).
- Parameters:
retarget_profile (RetargetProfile) –
speed_plant_settings (TargetChainSpeedPlantSettings) –
target_chain_name (Name) –
- Returns:
retarget_profile (RetargetProfile):
- Return type:
- classmethod set_global_settings_in_retarget_profile(retarget_profile, global_settings) RetargetProfile ¶
Set the global settings in a retarget profile (will set bApplyGlobalSettings to true).
- Parameters:
retarget_profile (RetargetProfile) –
global_settings (RetargetGlobalSettings) –
- Returns:
retarget_profile (RetargetProfile):
- Return type:
- classmethod set_root_settings_in_retarget_profile(retarget_profile, root_settings) RetargetProfile ¶
Set the root settings in a retarget profile (will set bApplyRootSettings to true).
- Parameters:
retarget_profile (RetargetProfile) –
root_settings (TargetRootSettings) –
- Returns:
retarget_profile (RetargetProfile):
- Return type: