unreal.OptimusDeformerInstance

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

Bases: MeshDeformerInstance

Class representing an instance of an Optimus Mesh Deformer, used in a OptimusDeformerDynamicInstanceManager It contains the per instance deformer variable state and local state for each of the graphs in the deformer.

C++ Source:

  • Plugin: DeformerGraph

  • Module: OptimusCore

  • File: OptimusDeformerInstance.h

enqueue_trigger_graph(trigger_graph_name) bool

Trigger a named trigger graph to run on the next tick

Parameters:

trigger_graph_name (Name)

Return type:

bool

set_bool_array_variable(variable_name, value) bool

Set Variable (Boolean Array)

Parameters:
Return type:

bool

set_bool_variable(variable_name, value) bool

Set the value of a boolean variable.

Parameters:
Return type:

bool

set_float_array_variable(variable_name, value) bool

Set Variable (Float Array)

Parameters:
Return type:

bool

set_float_variable(variable_name, value) bool

Set Variable (Float)

Parameters:
  • variable_name (Name)

  • value (double)

Return type:

bool

set_int2_array_variable(variable_name, value) bool

Set Variable (Integer2 Array)

Parameters:
Return type:

bool

set_int2_variable(variable_name, value) bool

Set Variable (Integer2)

Parameters:
Return type:

bool

set_int3_array_variable(variable_name, value) bool

Set Variable (Integer3 Array)

Parameters:
Return type:

bool

set_int3_variable(variable_name, value) bool

Set Variable (Integer3)

Parameters:
Return type:

bool

set_int4_array_variable(variable_name, value) bool

Set Variable (Integer4 Array)

Parameters:
Return type:

bool

set_int4_variable(variable_name, value) bool

Set Variable (Integer4)

Parameters:
Return type:

bool

set_int_array_variable(variable_name, value) bool

Set Variable (Integer Array)

Parameters:
Return type:

bool

set_int_variable(variable_name, value) bool

Set the value of an integer variable.

Parameters:
  • variable_name (Name)

  • value (int32)

Return type:

bool

set_linear_color_array_variable(variable_name, value) bool

Set Variable (LinearColor Array)

Parameters:
Return type:

bool

set_linear_color_variable(variable_name, value) bool

Set Variable (LinearColor)

Parameters:
Return type:

bool

set_name_array_variable(variable_name, value) bool

Set Variable (Name Array)

Parameters:
Return type:

bool

set_name_variable(variable_name, value) bool

Set Variable (Name)

Parameters:
Return type:

bool

set_quat_array_variable(variable_name, value) bool

Set Variable (Quat Array)

Parameters:
Return type:

bool

set_quat_variable(variable_name, value) bool

Set Variable (Quat)

Parameters:
Return type:

bool

set_rotator_array_variable(variable_name, value) bool

Set Variable (Rotator Array)

Parameters:
Return type:

bool

set_rotator_variable(variable_name, value) bool

Set Variable (Rotator)

Parameters:
Return type:

bool

set_transform_array_variable(variable_name, value) bool

Set Variable (Transform Array)

Parameters:
Return type:

bool

set_transform_variable(variable_name, value) bool

Set the value of a transform variable.

Parameters:
Return type:

bool

set_vector2_array_variable(variable_name, value) bool

Set Variable (Vector2 Array)

Parameters:
Return type:

bool

set_vector2_variable(variable_name, value) bool

Set Variable (Vector2)

Parameters:
Return type:

bool

set_vector4_array_variable(variable_name, value) bool

Set Variable (Vector4 Array)

Parameters:
Return type:

bool

set_vector4_variable(variable_name, value) bool

Set Variable (Vector4)

Parameters:
Return type:

bool

set_vector_array_variable(variable_name, value) bool

Set Variable (Vector Array)

Parameters:
Return type:

bool

set_vector_variable(variable_name, value) bool

Set Variable (Vector)

Parameters:
Return type:

bool