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 Bool Array Variable

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 Float Array Variable

Parameters:
Return type:

bool

set_float_variable(variable_name, value) bool

Set Float Variable

Parameters:
  • variable_name (Name)

  • value (double)

Return type:

bool

set_int2_array_variable(variable_name, value) bool

Set Int 2Array Variable

Parameters:
Return type:

bool

set_int2_variable(variable_name, value) bool

Set Int 2Variable

Parameters:
Return type:

bool

set_int3_array_variable(variable_name, value) bool

Set Int 3Array Variable

Parameters:
Return type:

bool

set_int3_variable(variable_name, value) bool

Set Int 3Variable

Parameters:
Return type:

bool

set_int4_array_variable(variable_name, value) bool

Set Int 4Array Variable

Parameters:
Return type:

bool

set_int4_variable(variable_name, value) bool

Set Int 4Variable

Parameters:
Return type:

bool

set_int_array_variable(variable_name, value) bool

Set Int Array Variable

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 Linear Color Array Variable

Parameters:
Return type:

bool

set_linear_color_variable(variable_name, value) bool

Set Linear Color Variable

Parameters:
Return type:

bool

set_name_array_variable(variable_name, value) bool

Set Name Array Variable

Parameters:
Return type:

bool

set_name_variable(variable_name, value) bool

Set Name Variable

Parameters:
Return type:

bool

set_quat_array_variable(variable_name, value) bool

Set Quat Array Variable

Parameters:
Return type:

bool

set_quat_variable(variable_name, value) bool

Set Quat Variable

Parameters:
Return type:

bool

set_rotator_array_variable(variable_name, value) bool

Set Rotator Array Variable

Parameters:
Return type:

bool

set_rotator_variable(variable_name, value) bool

Set Rotator Variable

Parameters:
Return type:

bool

set_transform_array_variable(variable_name, value) bool

Set Transform Array Variable

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 Vector 2Array Variable

Parameters:
Return type:

bool

set_vector2_variable(variable_name, value) bool

Set Vector 2Variable

Parameters:
Return type:

bool

set_vector4_array_variable(variable_name, value) bool

Set Vector 4Array Variable

Parameters:
Return type:

bool

set_vector4_variable(variable_name, value) bool

Set Vector 4Variable

Parameters:
Return type:

bool

set_vector_array_variable(variable_name, value) bool

Set Vector Array Variable

Parameters:
Return type:

bool

set_vector_variable(variable_name, value) bool

Set Vector Variable

Parameters:
Return type:

bool