Navigation
API > API/Plugins > API/Plugins/OptimusCore
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMeshDeformerInstance
- UOptimusDeformerInstance
References
| Module | OptimusCore |
| Header | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusDeformerInstance.h |
| Include | #include "OptimusDeformerInstance.h" |
Syntax
UCLASS&40;BlueprintType&41;
class UOptimusDeformerInstance : public UMeshDeformerInstance
Remarks
Class representing an instance of an Optimus Mesh Deformer. This implements the UMeshDeformerInstance interface to enqueue the graph execution. It also contains the per instance deformer variable state and local state for each of the graphs in the deformer.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | EnqueueTriggerGraph
(
FName InTriggerGraphName |
Trigger a named trigger graph to run on the next tick | |
| FOptimusPersistentBufferPoolPtr | |||
| const TArray< UOptimusVariableDescription * > & | GetVariables () |
Get an array containing all the variables. | |
| bool | SetBoolVariable
(
FName InVariableName, |
Set the value of a boolean variable. | |
| void | SetCanBeActive
(
bool bInCanBeActive |
||
| void | SetConstantValueDirect
(
FString const& InVariableName, |
Directly set a graph constant value. | |
| bool | SetFloatVariable
(
FName InVariableName, |
Set the value of a float variable. | |
| void | SetInstanceSettings
(
UOptimusDeformerInstanceSettings* InInstanceSettings |
Set the instance settings that control this deformer instance. | |
| bool | SetIntVariable
(
FName InVariableName, |
Set the value of an integer variable. | |
| void | SetMeshComponent
(
UMeshComponent* InMeshComponent |
Set the Mesh Component that owns this instance. | |
| bool | SetTransformVariable
(
FName InVariableName, |
Set the value of a transform variable. | |
| void | SetupFromDeformer
(
UOptimusDeformer* InDeformer |
Setup the instance. | |
| bool | SetVector4Variable
(
FName InVariableName, |
Set the value of a 4-vector variable. | |
| bool | SetVectorVariable
(
FName InVariableName, |
Set the value of a 3-vector variable. |
Overridden from UMeshDeformerInstance
| Type | Name | Description | |
|---|---|---|---|
| void | Implementation of UMeshDeformerInstance. | ||
| void | EnqueueWork
(
FEnqueueWorkDesc const& InDesc |
Enqueue the mesh deformer workload on a scene. | |
| void | Called when persistent render resources should be released |