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
- get_custom_compute_weighted_normals() bool or None ¶
Query whether normals are recomputed by weighting the surface area and the corner angle of the triangle as a ratio.
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_keep_sections_separate() bool or None ¶
Query whether sections with matching materials are kept separate and will not get combined.
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_lod_group() Name or None ¶
Query whether a custom LOD group is set for the mesh.
- 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 are 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 are converted to 16-bit by a legacy truncation process instead of the default rounding process. This may avoid differences when reimporting older content.
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_use_full_precision_u_vs() bool or None ¶
Query whether UVs are 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 are stored at 16-bit precision instead of the default 8-bit precision.
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_use_mikk_t_space() bool or None ¶
Query whether tangents are recomputed using MikkTSpace when they need to be 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 LODs this static mesh has.
- Return type:
int32
- get_slot_material_dependencies() Map[str, str] ¶
Retrieve the correspondence table between slot names and assigned materials for this object.
- get_slot_material_dependency_uid(slot_name) str or None ¶
Retrieve the Material dependency for the specified slot of this object.
- remove_slot_material_dependency_uid(slot_name) bool ¶
Remove the Material dependency associated with the specfied slot name of this object.
- set_custom_compute_weighted_normals(attribute_value, add_apply_delegate=True) bool ¶
Set whether normals are recomputed by weighting the surface area and the corner angle of the triangle as a ratio.
- set_custom_keep_sections_separate(attribute_value) bool ¶
Set whether sections with matching materials are kept separate and will not get combined.
- set_custom_lod_group(attribute_value, add_apply_delegate=True) bool ¶
Set a custom LOD group for the mesh.
- 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.
- set_custom_recompute_tangents(attribute_value, add_apply_delegate=True) bool ¶
Set whether tangents in the imported mesh are ignored and recomputed.
- set_custom_remove_degenerates(attribute_value, add_apply_delegate=True) bool ¶
Set whether degenerate triangles are removed.
- set_custom_use_backwards_compatible_f16_trunc_u_vs(attribute_value, add_apply_delegate=True) bool ¶
Set whether UVs are converted to 16-bit by a legacy truncation process instead of the default rounding process. This may avoid differences when reimporting older content.
- set_custom_use_full_precision_u_vs(attribute_value, add_apply_delegate=True) bool ¶
Set whether UVs are stored at full floating point precision.
- set_custom_use_high_precision_tangent_basis(attribute_value, add_apply_delegate=True) bool ¶
Set whether tangents are stored at 16-bit precision instead of the default 8-bit precision.
- set_custom_use_mikk_t_space(attribute_value, add_apply_delegate=True) bool ¶
Set whether tangents are recomputed using MikkTSpace when they need to be recomputed.
- set_custom_vertex_color_ignore(attribute_value) bool ¶
Set whether the static mesh factory should ignore the vertex color. Return false if the attribute could not be set.
- set_custom_vertex_color_override(attribute_value) bool ¶
Set whether the static mesh factory should override the vertex color. Return false if the attribute could not be set.