unreal.InterchangeGeometryCacheFactoryNode¶
- class unreal.InterchangeGeometryCacheFactoryNode(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InterchangeMeshFactoryNodeInterchange Geometry Cache Factory Node
C++ Source:
Plugin: Interchange
Module: InterchangeFactoryNodes
File: InterchangeGeometryCacheFactoryNode.h
- get_custom_apply_constant_topology_optimization() bool or None¶
Get whether constant topology optimization is applied
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_end_frame() int32 or None¶
Get the end frame index of the animation
- Returns:
attribute_value (int32):
- Return type:
int32 or None
- get_custom_flatten_tracks() bool or None¶
Get whether to merge all geometries into a single mesh
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_motion_vectors_import() InterchangeMotionVectorsHandling or None¶
Get how the motion vectors are managed
- Returns:
attribute_value (InterchangeMotionVectorsHandling):
- Return type:
InterchangeMotionVectorsHandling or None
- get_custom_num_bits_for_u_vs() int32 or None¶
Get the number of bits for compressing the UV into
- Returns:
attribute_value (int32):
- Return type:
int32 or None
- get_custom_optimize_index_buffers() bool or None¶
Get whether to optimize the index buffers when building the geometry cache
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_custom_position_precision() float or None¶
Get the precision used for compressing vertex positions
- Returns:
attribute_value (float):
- Return type:
float or None
- get_custom_start_frame() int32 or None¶
Get the start frame index of the animation
- Returns:
attribute_value (int32):
- Return type:
int32 or None
- get_custom_store_imported_vertex_numbers() bool or None¶
Get whether vertex numbers from DCC are stored in the geometry cache
- Returns:
attribute_value (bool):
- Return type:
bool or None
- get_scene_node_animation_payload_keys() Map[str, str]¶
Get the animation payload keys that are relevant to building the geometry cache
- initialize_geometry_cache_node(unique_id, display_label, asset_class, node_container) None¶
Initialize node data. Also adds it to NodeContainer.
- Parameters:
unique_id (str) – The unique ID for this node.
display_label (str) – The name of the node.
asset_class (str) – The class the GeometryCache factory will create for this node.
node_container (InterchangeBaseNodeContainer)
- set_animation_payload_key_for_scene_node_uid(scene_node_uid, unique_id) bool¶
Set the animation payload keys that are relevant to building the geometry cache
- set_custom_apply_constant_topology_optimization(attribute_value) bool¶
Get whether constant topology optimization is applied
- set_custom_end_frame(attribute_value) bool¶
Set the end frame index of the animation
- Parameters:
attribute_value (int32)
- Return type:
- set_custom_flatten_tracks(attribute_value) bool¶
Set whether to merge all geometries into a single mesh
- set_custom_motion_vectors_import(attribute_value) bool¶
Set how the motion vectors are managed
- Parameters:
attribute_value (InterchangeMotionVectorsHandling)
- Return type:
- set_custom_num_bits_for_u_vs(attribute_value) bool¶
Set the number of bits for compressing the UV into
- Parameters:
attribute_value (int32)
- Return type:
- set_custom_optimize_index_buffers(attribute_value) bool¶
Set whether to optimize the index buffers when building the geometry cache
- set_custom_position_precision(attribute_value) bool¶
Set the precision used for compressing vertex positions