unreal.InterchangeMeshNode

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

Bases: InterchangeBaseNode

ns UE

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeNodes

  • File: InterchangeMeshNode.h

get_custom_bounding_box() Box or None

Query this mesh bounding box. Return false if the attribute was not set.

Returns:

attribute_value (Box):

Return type:

Box or None

get_custom_has_smooth_group() bool or None

Query if this mesh has smooth group. Return false if the attribute was not set.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_has_vertex_binormal() bool or None

Query if this mesh has vertex bi-normal. Return false if the attribute was not set.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_has_vertex_color() bool or None

Query if this mesh has vertex color. Return false if the attribute was not set.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_has_vertex_normal() bool or None

Query if this mesh has vertex normal. Return false if the attribute was not set.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_has_vertex_tangent() bool or None

Query if this mesh has vertex tangent. Return false if the attribute was not set.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_polygon_count() int32 or None

Query this mesh polygon count. Return false if the attribute was not set.

Returns:

attribute_value (int32):

Return type:

int32 or None

get_custom_uv_count() int32 or None

Query this mesh UV count. Return false if the attribute was not set.

Returns:

attribute_value (int32):

Return type:

int32 or None

get_custom_vertex_count() int32 or None

Query this mesh vertices count. Return false if the attribute was not set.

Returns:

attribute_value (int32):

Return type:

int32 or None

get_morph_target_dependecies_count() int32

This function allow to retrieve the number of morph target dependencies for this object.

Return type:

int32

get_morph_target_dependencies() Array[str]

This function allow to retrieve the morph target dependency for this object.

Returns:

out_dependencies (Array[str]):

Return type:

Array[str]

get_morph_target_dependency(index) str

This function allow to retrieve one morph target dependency for this object.

Parameters:

index (int32) –

Returns:

out_dependency (str):

Return type:

str

get_morph_target_name() str or None

Get the morph target name. Return true if we successfully query the MorphTargetName attribute

Returns:

out_morph_target_name (str):

Return type:

str or None

get_scene_instance_uid(index) str

This function allow to retrieve an asset instance this scene node is refering.

Parameters:

index (int32) –

Returns:

out_dependency (str):

Return type:

str

get_scene_instance_uids() Array[str]

This function allow to retrieve the asset instances this scene node is refering.

Returns:

out_dependencies (Array[str]):

Return type:

Array[str]

get_scene_instance_uids_count() int32

This function allow to retrieve the number of scene node instancing this mesh.

Return type:

int32

get_skeleton_dependecies_count() int32

This function allow to retrieve the number of skeleton dependencies for this object.

Return type:

int32

get_skeleton_dependencies() Array[str]

This function allow to retrieve the skeleton dependency for this object.

Returns:

out_dependencies (Array[str]):

Return type:

Array[str]

get_skeleton_dependency(index) str

This function allow to retrieve one skeleton dependency for this object.

Parameters:

index (int32) –

Returns:

out_dependency (str):

Return type:

str

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

is_morph_target() bool

Return true if this node represent a morph target

Return type:

bool

is_skinned_mesh() bool

Return true if this node represent a skinned mesh

Return type:

bool

remove_morph_target_dependency_uid(dependency_uid) bool

Remove one morph target dependency from this object.

Parameters:

dependency_uid (str) –

Return type:

bool

remove_scene_instance_uid(dependency_uid) bool

Remove one asset instance this scene node is refering.

Parameters:

dependency_uid (str) –

Return type:

bool

remove_skeleton_dependency_uid(dependency_uid) bool

Remove one skeleton dependency from this object.

Parameters:

dependency_uid (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

set_animation_curve_pay_load_key(payload_key) None

Set Animation Curve Pay Load Key

Parameters:

payload_key (str) –

set_custom_bounding_box(attribute_value) bool

Set this mesh bounding box. Return false if the attribute cannot be set.

Parameters:

attribute_value (Box) –

Return type:

bool

set_custom_has_smooth_group(attribute_value) bool

Set this mesh has smooth group attribute. Return false if the attribute cannot be set.

Parameters:

attribute_value (bool) –

Return type:

bool

set_custom_has_vertex_binormal(attribute_value) bool

Set this mesh has vertex bi-normal attribute. Return false if the attribute cannot be set.

Parameters:

attribute_value (bool) –

Return type:

bool

set_custom_has_vertex_color(attribute_value) bool

Set this mesh has vertex color attribute. Return false if the attribute cannot be set.

Parameters:

attribute_value (bool) –

Return type:

bool

set_custom_has_vertex_normal(attribute_value) bool

Set this mesh has vertex normal attribute. Return false if the attribute cannot be set.

Parameters:

attribute_value (bool) –

Return type:

bool

set_custom_has_vertex_tangent(attribute_value) bool

Set this mesh has vertex tangent attribute. Return false if the attribute cannot be set.

Parameters:

attribute_value (bool) –

Return type:

bool

set_custom_polygon_count(attribute_value) bool

Set this mesh polygon count. Return false if the attribute cannot be set.

Parameters:

attribute_value (int32) –

Return type:

bool

set_custom_uv_count(attribute_value) bool

Set this mesh UV count attribute. Return false if the attribute cannot be set.

Parameters:

attribute_value (int32) –

Return type:

bool

set_custom_vertex_count(attribute_value) bool

Set this mesh vertices count. Return false if the attribute cannot be set.

Parameters:

attribute_value (int32) –

Return type:

bool

set_morph_target(is_morph_target) bool

Set the IsMorphTarget attribute to determine if this node represent a morph target.

Parameters:

is_morph_target (bool) –

Return type:

bool

set_morph_target_dependency_uid(dependency_uid) bool

Add one morph target dependency to this object.

Parameters:

dependency_uid (str) –

Return type:

bool

set_morph_target_name(morph_target_name) bool

Set the MorphTargetName attribute to determine if this node represent a morph target.

Parameters:

morph_target_name (str) –

Return type:

bool

set_pay_load_key(payload_key) None

Set Pay Load Key

Parameters:

payload_key (str) –

set_scene_instance_uid(dependency_uid) bool

Add one asset instance this scene node is refering.

Parameters:

dependency_uid (str) –

Return type:

bool

set_skeleton_dependency_uid(dependency_uid) bool

Add one skeleton dependency to this object.

Parameters:

dependency_uid (str) –

Return type:

bool

set_skinned_mesh(is_skinned_mesh) bool

Set the IsSkinnedMesh attribute to determine if this node represent a skinned mesh.

Parameters:

is_skinned_mesh (bool) –

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