unreal.InterchangeMeshFactoryNode

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

Bases: InterchangeFactoryBaseNode

namespace Interchange

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeFactoryNodes

  • File: InterchangeMeshFactoryNode.h

add_lod_data_unique_id(lod_data_unique_id) bool

Add Lod Data Unique Id

Parameters:

lod_data_unique_id (str) –

Return type:

bool

get_custom_compute_weighted_normals() bool or None

Query whether normals recompute will use the surface area and the corner angle of the triangle as a ratio when computing the normals.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_lod_group() Name or None

Query whether normals in the imported mesh are ignored and recomputed. When normals are recomputed the tangents are also recomputed.

Returns:

attribute_value (Name):

Return type:

Name or None

get_custom_recompute_normals() bool or None

Query whether normals in the imported mesh are ignored and recomputed. When normals are recomputed the tangents are also recomputed.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_recompute_tangents() bool or None

Query whether tangents in the imported mesh are ignored and recomputed.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_remove_degenerates() bool or None

Query whether degenerate triangles will be removed.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_use_backwards_compatible_f16_trunc_u_vs() bool or None

Query whether UVs will be stored at full floating point precision.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_use_full_precision_u_vs() bool or None

Query whether UVs will be stored at full floating point precision.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_use_high_precision_tangent_basis() bool or None

Query whether Tangents will be stored at 16 bit vs 8 bit precision.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_use_mikk_t_space() bool or None

Query whether tangents recompute will use mikkt space if tangents are recomputed.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_vertex_color_ignore() bool or None

Query whether the static mesh factory should ignore the vertex color. Return false if the attribute was not set.

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_vertex_color_override() Color or None

Query whether the static mesh factory should override the vertex color. Return false if the attribute was not set.

Returns:

attribute_value (Color):

Return type:

Color or None

get_custom_vertex_color_replace() bool or None

Query whether the static mesh factory should replace the vertex color. Return false if the attribute was not set.

Returns:

attribute_value (bool):

Return type:

bool or None

get_lod_data_count() int32

Return The number of LOD this static mesh has.

Return type:

int32

get_lod_data_unique_ids() Array[str]

Get Lod Data Unique Ids

Returns:

out_lod_data_unique_ids (Array[str]):

Return type:

Array[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

remove_lod_data_unique_id(lod_data_unique_id) bool

Remove Lod Data Unique Id

Parameters:

lod_data_unique_id (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_custom_compute_weighted_normals(attribute_value, add_apply_delegate=True) bool

Set whether normals recompute will use the surface area and the corner angle of the triangle as a ratio when computing the normals.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_lod_group(attribute_value, add_apply_delegate=True) bool

Set whether normals in the imported mesh are ignored and recomputed. When normals are recomputed the tangents are also recomputed.

Parameters:
  • attribute_value (Name) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_recompute_normals(attribute_value, add_apply_delegate=True) bool

Set whether normals in the imported mesh are ignored and recomputed. When normals are recomputed the tangents are also recomputed.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_recompute_tangents(attribute_value, add_apply_delegate=True) bool

Set whether tangents in the imported mesh are ignored and recomputed.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_remove_degenerates(attribute_value, add_apply_delegate=True) bool

Set whether degenerate triangles will be removed.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_use_backwards_compatible_f16_trunc_u_vs(attribute_value, add_apply_delegate=True) bool

Set whether UVs will be stored at full floating point precision.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_use_full_precision_u_vs(attribute_value, add_apply_delegate=True) bool

Set whether UVs will be stored at full floating point precision.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_use_high_precision_tangent_basis(attribute_value, add_apply_delegate=True) bool

Set whether Tangents will be stored at 16 bit vs 8 bit precision.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_use_mikk_t_space(attribute_value, add_apply_delegate=True) bool

Set whether tangents recompute will use mikkt space if tangents are recomputed.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_vertex_color_ignore(attribute_value) bool

Set whether the static mesh factory should ignore the vertex color. Return false if the attribute cannot be set.

Parameters:

attribute_value (bool) –

Return type:

bool

set_custom_vertex_color_override(attribute_value) bool

Set whether the static mesh factory should override the vertex color. Return false if the attribute cannot be set.

Parameters:

attribute_value (Color) –

Return type:

bool

set_custom_vertex_color_replace(attribute_value) bool

Set whether the static mesh factory should replace the vertex color. Return false if the attribute cannot be set.

Parameters:

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