unreal.InterchangeSceneNode

class unreal.InterchangeSceneNode(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: InterchangeBaseNode

The scene node represent a transform node in the scene Scene node can have animations: Use UInterchangeAnimationAPI to getset animation datas Scene node can have user defined attribute. Use UInterchangeUserDefinedAttributesAPI to getset user define attribute data

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeNodes

  • File: InterchangeSceneNode.h

add_specialized_type(specialized_type) bool

Add Specialized Type

Parameters:

specialized_type (str) –

Return type:

bool

get_custom_asset_instance_uid() str or None

Get which asset, if any, a scene node is instantiating. Return false if the Attribute was not set previously.

Returns:

attribute_value (str):

Return type:

str or None

get_custom_bind_pose_global_transform(base_node_container, global_offset_transform, force_recache=False) Transform or None

Get the bind pose scene node global transform. This value is computed with all parent bind pose local transform.

Parameters:
Returns:

attribute_value (Transform):

Return type:

Transform or None

get_custom_bind_pose_local_transform() Transform or None

Get the bind pose scene node local transform.

Returns:

attribute_value (Transform):

Return type:

Transform or None

get_custom_geometric_transform() Transform or None

Get the geometric offset. Any mesh attach to this scene node will be offset using this transform.

Returns:

attribute_value (Transform):

Return type:

Transform or None

get_custom_global_transform(base_node_container, global_offset_transform, force_recache=False) Transform or None

Get the default scene node global transform. This value is computed with all parent local transform.

Parameters:
Returns:

attribute_value (Transform):

Return type:

Transform or None

get_custom_local_transform() Transform or None

Get the default scene node local transform. Default transform is the local transform we have in the node(no bind pose, no time evaluation).

Returns:

attribute_value (Transform):

Return type:

Transform or None

get_custom_time_zero_global_transform(base_node_container, global_offset_transform, force_recache=False) Transform or None

Get the time zero scene node global transform. This value is computed with all parent timezero local transform.

Parameters:
Returns:

attribute_value (Transform):

Return type:

Transform or None

get_custom_time_zero_local_transform() Transform or None

Get the time zero scene node local transform.

Returns:

attribute_value (Transform):

Return type:

Transform or None

get_slot_material_dependencies() Map[str, str]

Allow to retrieve the correspondence table between slot names and assigned materials for this object.

Returns:

out_material_dependencies (Map[str, str]):

Return type:

Map[str, str]

get_slot_material_dependency_uid(slot_name) str or None

Allow to retrieve one Material dependency for a given slot of this object.

Parameters:

slot_name (str) –

Returns:

out_material_dependency (str):

Return type:

str or None

get_specialized_type(index) str

Get Specialized Type

Parameters:

index (int32) –

Returns:

out_specialized_type (str):

Return type:

str

get_specialized_type_count() int32

Get the Specialized type this scene node represent (Joint, LODGroup, …).

Return type:

int32

get_specialized_types() Array[str]

Get Specialized Types

Returns:

out_specialized_types (Array[str]):

Return type:

Array[str]

is_specialized_type_contains(specialized_type) bool

Is Specialized Type Contains

Parameters:

specialized_type (str) –

Return type:

bool

remove_slot_material_dependency_uid(slot_name) bool

Remove the Material dependency associated with the given slot name from this object.

Parameters:

slot_name (str) –

Return type:

bool

remove_specialized_type(specialized_type) bool

Remove Specialized Type

Parameters:

specialized_type (str) –

Return type:

bool

set_custom_asset_instance_uid(attribute_value) bool

Add asset this scene node is instantiating

Parameters:

attribute_value (str) –

Return type:

bool

set_custom_bind_pose_local_transform(base_node_container, attribute_value, reset_cache=True) bool

Set the bind pose scene node local transform.

Parameters:
Return type:

bool

set_custom_geometric_transform(attribute_value) bool

Set the geometric offset. Any mesh attach to this scene node will be offset using this transform.

Parameters:

attribute_value (Transform) –

Return type:

bool

set_custom_local_transform(base_node_container, attribute_value, reset_cache=True) bool

Set the default scene node local transform. Default transform is the local transform we have in the node(no bind pose, no time evaluation).

Parameters:
Return type:

bool

set_custom_time_zero_local_transform(base_node_container, attribute_value, reset_cache=True) bool

Set the time zero scene node local transform.

Parameters:
Return type:

bool

set_slot_material_dependency_uid(slot_name, material_dependency_uid) bool

Add one Material dependency to a specific slot name of this object.

Parameters:
  • slot_name (str) –

  • material_dependency_uid (str) –

Return type:

bool