Navigation
API > API/Plugins > API/Plugins/OptimusCore
Defines a binding between a component provider in the graph and an actor component in the component hierarchy on the actor whose deformable component we're bound to.
| Name | FOptimusDeformerInstanceComponentBinding |
| Type | struct |
| Header File | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusDeformerInstance.h |
| Include Path | #include "OptimusDeformerInstance.h" |
Syntax
USTRUCT (BlueprintType )
struct FOptimusDeformerInstanceComponentBinding
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComponentName | FName | Component name to bind. This should be sanitized before storage. | OptimusDeformerInstance.h |
|
| ProviderName | FName | Binding name on deformer graph. | OptimusDeformerInstance.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSoftObjectPtr< UActorComponent > GetActorComponent
(
AActor const* InActor |
Get the component on an actor that matches the stored component name. | OptimusDeformerInstance.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSoftObjectPtr< UActorComponent > GetActorComponent
(
AActor const* InActor, |
OptimusDeformerInstance.h | ||
static bool GetSanitizedComponentName
(
FString& InOutName |
Helpers to create ComponentName. | OptimusDeformerInstance.h | |
static FName GetSanitizedComponentName
(
FName InName |
OptimusDeformerInstance.h | ||
static FName GetSanitizedComponentName
(
UActorComponent const* InComponent |
OptimusDeformerInstance.h |