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

add_socket_uid(socket_uid) bool

Add Socket Uid

Parameters:

socket_uid (str) –

Return type:

bool

add_socket_uids(socket_uids) bool

Add Socket Uids

Parameters:

socket_uids (Array[str]) –

Return type:

bool

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_object_class()

Get the class this node want to create

Return type:

type(Class)

get_socket_uid_count() int32

Return The number of socket UIDs this static mesh has.

Return type:

int32

get_socket_uids() Array[str]

Get Socket Uids

Returns:

out_socket_uids (Array[str]):

Return type:

Array[str]

initialize_static_mesh_node(unique_id, display_label, asset_class) None

Initialize node data

Parameters:
  • unique_id (str) – The uniqueId for this node

  • display_label (str) – The name of the node

  • asset_class (str) – The class the StaticMesh factory will create for this node.

remove_socket_ud(socket_uid) bool

Remove Socket Ud

Parameters:

socket_uid (str) –

Return type:

bool

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.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

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.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_build_scale3d(attribute_value, add_apply_delegate=True) bool

Set the static mesh local scale applied when building the static mesh.

Parameters:
  • attribute_value (Vector) –

  • add_apply_delegate (bool) –

Return type:

bool

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:
Return type:

bool

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.

Parameters:
  • attribute_value (float) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_dst_lightmap_index(attribute_value, add_apply_delegate=True) bool

Set weather the static mesh … (TODO add documentation)

Parameters:
  • attribute_value (int32) –

  • add_apply_delegate (bool) –

Return type:

bool

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.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

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.

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool

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.

Parameters:
  • attribute_value (int32) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_min_lightmap_resolution(attribute_value, add_apply_delegate=True) bool

Set weather the static mesh … (TODO add documentation)

Parameters:
  • attribute_value (int32) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_src_lightmap_index(attribute_value, add_apply_delegate=True) bool

Set weather the static mesh … (TODO add documentation)

Parameters:
  • attribute_value (int32) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_support_face_remap(attribute_value, add_apply_delegate=True) bool

Set weather the static mesh … (TODO add documentation)

Parameters:
  • attribute_value (bool) –

  • add_apply_delegate (bool) –

Return type:

bool