unreal.InterchangeSceneComponentNode

class unreal.InterchangeSceneComponentNode(outer: Object | None = None, name: Name | str = 'None')

Bases: InterchangeBaseNode

Interchange Scene Component Node

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeNodes

  • File: InterchangeSceneComponentNodes.h

add_component_uid(component_uid) bool

Add Component Uid

Parameters:

component_uid (str)

Return type:

bool

get_component_uids() Array[str]

Get Component Uids

Returns:

out_component_uids (Array[str]):

Return type:

Array[str]

get_custom_component_visibility() bool or None

Get Custom Component Visibility

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_local_transform() Transform or None

Get Custom Local Transform

Returns:

attribute_value (Transform):

Return type:

Transform or None

get_parent_scene_node_and_transform(base_node_container, force_recache=False) -> (InterchangeSceneNode, scene_node_transform=Transform)

Get’s the SceneNode that the SceneComponentNode belongs to, also calculates the GlobalTransform within the SceneNode space.

Parameters:
Returns:

scene_node_transform (Transform):

Return type:

Transform

set_custom_component_visibility(attribute_value) bool

Set Custom Component Visibility

Parameters:

attribute_value (bool)

Return type:

bool

set_custom_local_transform(attribute_value) bool

Set Custom Local Transform

Parameters:

attribute_value (Transform)

Return type:

bool