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.
- 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:
- 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:
- get_scene_instance_uids() Array[str] ¶
This function allow to retrieve the asset instances this scene node is refering.
- 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.
- 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:
- get_slot_material_dependencies() Map[str, str] ¶
Allow to retrieve the correspondence table between slot names and assigned materials for this object.
- get_slot_material_dependency_uid(slot_name) str or None ¶
Allow to retrieve one Material dependency for a given slot of this object.
- remove_morph_target_dependency_uid(dependency_uid) bool ¶
Remove one morph target dependency from this object.
- remove_scene_instance_uid(dependency_uid) bool ¶
Remove one asset instance this scene node is refering.
- remove_skeleton_dependency_uid(dependency_uid) bool ¶
Remove one skeleton dependency from this object.
- remove_slot_material_dependency_uid(slot_name) bool ¶
Remove the Material dependency associated with the given slot name from this object.
- 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.
- set_custom_has_smooth_group(attribute_value) bool ¶
Set this mesh has smooth group attribute. Return false if the attribute cannot be set.
- set_custom_has_vertex_binormal(attribute_value) bool ¶
Set this mesh has vertex bi-normal attribute. Return false if the attribute cannot be set.
- set_custom_has_vertex_color(attribute_value) bool ¶
Set this mesh has vertex color attribute. Return false if the attribute cannot be set.
- set_custom_has_vertex_normal(attribute_value) bool ¶
Set this mesh has vertex normal attribute. Return false if the attribute cannot be set.
- set_custom_has_vertex_tangent(attribute_value) bool ¶
Set this mesh has vertex tangent attribute. Return false if the attribute cannot be set.
- 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:
- 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:
- 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:
- set_morph_target(is_morph_target) bool ¶
Set the IsMorphTarget attribute to determine if this node represent a morph target.
- set_morph_target_dependency_uid(dependency_uid) bool ¶
Add one morph target dependency to this object.
- set_morph_target_name(morph_target_name) bool ¶
Set the MorphTargetName attribute to determine if this node represent a morph target.