unreal.InterchangeMeshNode

class unreal.InterchangeMeshNode(outer=None, name='None')

Bases: unreal.InterchangeBaseNode

ns UE

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeNodes

  • File: InterchangeMeshNode.h

get_blend_shape_name() str or None

Return true if we successfully query the BlendShapeName attribute

Returns

out_blend_shape_name (str):

Return type

str or None

get_custom_bounding_box() Box or None

Return false if the Attribute was not set previously.

Returns

attribute_value (Box):

Return type

Box or None

get_custom_has_smooth_group() bool or None

Return false if the Attribute was not set previously.

Returns

attribute_value (bool):

Return type

bool or None

get_custom_has_vertex_binormal() bool or None

Return false if the Attribute was not set previously.

Returns

attribute_value (bool):

Return type

bool or None

get_custom_has_vertex_color() bool or None

Return false if the Attribute was not set previously.

Returns

attribute_value (bool):

Return type

bool or None

get_custom_has_vertex_normal() bool or None

Return false if the Attribute was not set previously.

Returns

attribute_value (bool):

Return type

bool or None

get_custom_has_vertex_tangent() bool or None

Return false if the Attribute was not set previously.

Returns

attribute_value (bool):

Return type

bool or None

get_custom_polygon_count() int32 or None

Return false if the Attribute was not set previously.

Returns

attribute_value (int32):

Return type

int32 or None

get_custom_uv_count() int32 or None

Return false if the Attribute was not set previously.

Returns

attribute_value (int32):

Return type

int32 or None

get_custom_vertex_count() int32 or None

Return false if the Attribute was not set previously.

Returns

attribute_value (int32):

Return type

int32 or None

get_material_dependecies_count() int32

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

Return type

int32

get_material_dependencies()

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

Returns

out_dependencies (Array(str)):

Return type

Array(str)

get_material_dependency(index) str

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

Parameters

index (int32) –

Returns

out_dependency (str):

Return type

str

get_scene_instance_uid(index) str

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

Parameters

index (int32) –

Returns

out_dependency (str):

Return type

str

get_scene_instance_uids()

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

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_shape_dependecies_count() int32

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

Return type

int32

get_shape_dependencies()

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

Returns

out_dependencies (Array(str)):

Return type

Array(str)

get_shape_dependency(index) str

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

Parameters

index (int32) –

Returns

out_dependency (str):

Return type

str

get_skeleton_dependecies_count() int32

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

Return type

int32

get_skeleton_dependencies()

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

is_blend_shape() bool

Return true if this node represent a skinned mesh

Return type

bool

is_skinned_mesh() bool

Return true if this node represent a skinned mesh

Return type

bool

remove_material_dependency_uid(dependency_uid) bool

Remove one Material dependency from this object.

Parameters

dependency_uid (str) –

Return type

bool

remove_scene_instance_uid(dependency_uid) bool

Remove one Shape dependency from this object.

Parameters

dependency_uid (str) –

Return type

bool

remove_shape_dependency_uid(dependency_uid) bool

Remove one Shape dependency from this object.

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

set_blend_shape(is_blend_shape) bool

Set the IsBlendShape attribute to determine if this node represent a blend shape.

Parameters

is_blend_shape (bool) –

Return type

bool

set_blend_shape_name(blend_shape_name) bool

Set the BlendShapeName attribute to determine if this node represent a blend shape.

Parameters

blend_shape_name (str) –

Return type

bool

set_custom_bounding_box(attribute_value) bool

Set Custom Bounding Box

Parameters

attribute_value (Box) –

Return type

bool

set_custom_has_smooth_group(attribute_value) bool

Set Custom Has Smooth Group

Parameters

attribute_value (bool) –

Return type

bool

set_custom_has_vertex_binormal(attribute_value) bool

Set Custom Has Vertex Binormal

Parameters

attribute_value (bool) –

Return type

bool

set_custom_has_vertex_color(attribute_value) bool

Set Custom Has Vertex Color

Parameters

attribute_value (bool) –

Return type

bool

set_custom_has_vertex_normal(attribute_value) bool

Set Custom Has Vertex Normal

Parameters

attribute_value (bool) –

Return type

bool

set_custom_has_vertex_tangent(attribute_value) bool

Set Custom Has Vertex Tangent

Parameters

attribute_value (bool) –

Return type

bool

set_custom_polygon_count(attribute_value) bool

Set Custom Polygon Count

Parameters

attribute_value (int32) –

Return type

bool

set_custom_uv_count(attribute_value) bool

Set Custom UVCount

Parameters

attribute_value (int32) –

Return type

bool

set_custom_vertex_count(attribute_value) bool

Set Custom Vertex Count

Parameters

attribute_value (int32) –

Return type

bool

set_material_dependency_uid(dependency_uid) bool

Add one Material dependency to this object.

Parameters

dependency_uid (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 Shape dependency to this object.

Parameters

dependency_uid (str) –

Return type

bool

set_shape_dependency_uid(dependency_uid) bool

Add one Shape dependency to this object.

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