unreal.InterchangeStaticMeshFactoryNode
¶
- class unreal.InterchangeStaticMeshFactoryNode(outer: Optional[Object] = None, name: Union[Name, str] = 'None')¶
Bases:
InterchangeMeshFactoryNode
namespace UE
C++ Source:
Plugin: Interchange
Module: InterchangeFactoryNodes
File: InterchangeStaticMeshFactoryNode.h
- get_custom_build_nanite() bool or None ¶
Get weather the static mesh factory should set the nanite build settings. Return false if the attribute was not set.
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_build_reversed_index_buffer() bool or None ¶
Get weather the static mesh should build build a reverse index buffer.
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_build_scale3d() Vector or None ¶
Get the static mesh local scale applied when building the static mesh.
- Returns:
attribute_value (Vector):
- Return type:
Vector or None
- get_custom_distance_field_replacement_mesh() SoftObjectPath or None ¶
Get the static mesh local scale applied when building the static mesh.
- Returns:
attribute_value (SoftObjectPath):
- Return type:
SoftObjectPath or None
- get_custom_distance_field_resolution_scale() float or None ¶
Get the Scale to apply to the mesh when allocating the distance field volume texture. The default scale is 1, which is assuming that the mesh will be placed unscaled in the world.
- Returns:
attribute_value (float):
- Return type:
float or None
- get_custom_dst_lightmap_index() int32 or None ¶
Get weather the static mesh … (TODO add documentation)
- Returns:
attribute_value (int32):
- Return type:
int32 or None
- get_custom_generate_distance_field_as_if_two_sided() bool or None ¶
Get Whether to generate the distance field treating every triangle hit as a front face. When enabled prevents the distance field from being discarded due to the mesh being open, but also lowers Distance Field AO quality.
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_generate_lightmap_u_vs() bool or None ¶
Get weather the static mesh should build build a reverse index buffer.
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_max_lumen_mesh_cards() int32 or None ¶
Max Lumen mesh cards to generate for this mesh. More cards means that surface will have better coverage, but will result in increased runtime overhead. Set to 0 in order to disable mesh card generation for this mesh. Default is 12.
- Returns:
attribute_value (int32):
- Return type:
int32 or None
- get_custom_min_lightmap_resolution() int32 or None ¶
Get weather the static mesh … (TODO add documentation)
- Returns:
attribute_value (int32):
- Return type:
int32 or None
- get_custom_src_lightmap_index() int32 or None ¶
Get weather the static mesh … (TODO add documentation)
- Returns:
attribute_value (int32):
- Return type:
int32 or None
- get_custom_support_face_remap() bool or None ¶
Get weather the static mesh … (TODO add documentation)
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_socket_uid_count() int32 ¶
Return The number of socket UIDs this static mesh has.
- Return type:
int32
- set_custom_build_nanite(attribute_value, add_apply_delegate=True) bool ¶
Set weather the static mesh factory should set the nanite build settings. Return false if the attribute was not set.
- set_custom_build_reversed_index_buffer(attribute_value, add_apply_delegate=True) bool ¶
Set weather the static mesh should build build a reverse index buffer.
- set_custom_build_scale3d(attribute_value, add_apply_delegate=True) bool ¶
Set the static mesh local scale applied when building the static mesh.
- set_custom_distance_field_replacement_mesh(attribute_value, add_apply_delegate=True) bool ¶
Set the static mesh local scale applied when building the static mesh.
- Parameters:
attribute_value (SoftObjectPath) –
add_apply_delegate (bool) –
- Return type:
- set_custom_distance_field_resolution_scale(attribute_value, add_apply_delegate=True) bool ¶
Set the Scale to apply to the mesh when allocating the distance field volume texture. The default scale is 1, which is assuming that the mesh will be placed unscaled in the world.
- set_custom_dst_lightmap_index(attribute_value, add_apply_delegate=True) bool ¶
Set weather the static mesh … (TODO add documentation)
- set_custom_generate_distance_field_as_if_two_sided(attribute_value, add_apply_delegate=True) bool ¶
Set Whether to generate the distance field treating every triangle hit as a front face. When enabled prevents the distance field from being discarded due to the mesh being open, but also lowers Distance Field AO quality.
- set_custom_generate_lightmap_u_vs(attribute_value, add_apply_delegate=True) bool ¶
Set weather the static mesh should build build a reverse index buffer.
- set_custom_max_lumen_mesh_cards(attribute_value, add_apply_delegate=True) bool ¶
Max Lumen mesh cards to generate for this mesh. More cards means that surface will have better coverage, but will result in increased runtime overhead. Set to 0 in order to disable mesh card generation for this mesh. Default is 12.
- set_custom_min_lightmap_resolution(attribute_value, add_apply_delegate=True) bool ¶
Set weather the static mesh … (TODO add documentation)