Navigation
API > API/Plugins > API/Plugins/OptimusCore
Inheritance Hierarchy
- UMeshDeformerInstance
- UOptimusDeformerInstance
References
| Module | OptimusCore |
| Header | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusDeformerInstance.h |
| Include | #include "OptimusDeformerInstance.h" |
Syntax
UCLASS (BlueprintType)
class UOptimusDeformerInstance : public UMeshDeformerInstance
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | GraphSortPriorityOffset | Making sure compute graphs belong to this instance does not run before instances before it | |
| EMeshDeformerOutputBuffer | OutputBuffersFromPreviousInstances | Used to see which buffers have valid data produced by dispatched instances and are safe to access for the current instance |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| bool | EnqueueTriggerGraph
(
FName InTriggerGraphName |
Trigger a named trigger graph to run on the next tick | |
| void | EnqueueWork
(
FEnqueueWorkDesc const& InDesc |
||
| FOptimusPersistentBufferPoolPtr | |||
| FOptimusValueContainerStruct | GetDataInterfacePropertyOverride
(
const UComputeDataInterface* DataInterface, |
||
| UMeshDeformerInstance * | |||
| EMeshDeformerOutputBuffer | |||
| const FShaderValueContainer & | GetShaderValue
(
const FOptimusValueIdentifier& InValueId |
||
| void | |||
| bool | SetBoolArrayVariable
(
FName InVariableName, |
||
| bool | SetBoolVariable
(
FName InVariableName, |
Set the value of a boolean variable. | |
| void | SetCanBeActive
(
bool bInCanBeActive |
||
| void | SetConstantValueDirect
(
TSoftObjectPtr< UObject > InSourceObject, |
Directly set a graph constant value. | |
| bool | SetFloatArrayVariable
(
FName InVariableName, |
||
| bool | SetFloatVariable
(
FName InVariableName, |
||
| void | SetInstanceSettings
(
UOptimusDeformerInstanceSettings* InInstanceSettings |
Set the instance settings that control this deformer instance. | |
| bool | SetInt2ArrayVariable
(
FName InVariableName, |
||
| bool | SetInt2Variable
(
FName InVariableName, |
||
| bool | SetInt3ArrayVariable
(
FName InVariableName, |
||
| bool | SetInt3Variable
(
FName InVariableName, |
||
| bool | SetInt4ArrayVariable
(
FName InVariableName, |
||
| bool | SetInt4Variable
(
FName InVariableName, |
||
| bool | SetIntArrayVariable
(
FName InVariableName, |
||
| bool | SetIntVariable
(
FName InVariableName, |
Set the value of an integer variable. | |
| bool | SetLinearColorArrayVariable
(
FName InVariableName, |
||
| bool | SetLinearColorVariable
(
FName InVariableName, |
||
| void | SetMeshComponent
(
UMeshComponent* InMeshComponent |
Set the Mesh Component that owns this instance. | |
| bool | SetNameArrayVariable
(
FName InVariableName, |
||
| bool | SetNameVariable
(
FName InVariableName, |
||
| bool | SetQuatArrayVariable
(
FName InVariableName, |
||
| bool | SetQuatVariable
(
FName InVariableName, |
||
| bool | SetRotatorArrayVariable
(
FName InVariableName, |
||
| bool | SetRotatorVariable
(
FName InVariableName, |
||
| bool | SetTransformArrayVariable
(
FName InVariableName, |
||
| bool | SetTransformVariable
(
FName InVariableName, |
Set the value of a transform variable. | |
| void | SetupFromDeformer
(
UOptimusDeformer* InDeformer |
Setup the instance. | |
| bool | SetVector2ArrayVariable
(
FName InVariableName, |
||
| bool | SetVector2Variable
(
FName InVariableName, |
||
| bool | SetVector4ArrayVariable
(
FName InVariableName, |
||
| bool | SetVector4Variable
(
FName InVariableName, |
||
| bool | SetVectorArrayVariable
(
FName InVariableName, |
||
| bool | SetVectorVariable
(
FName InVariableName, |