Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
Inheritance Hierarchy
- FAnimInstanceProxy
- FAnimSingleNodeInstanceProxy
- FAnimPreviewInstanceProxy
- FIKRetargetAnimInstanceProxy
- FIKRigAnimInstanceProxy
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimSingleNodeInstanceProxy.h |
| Include | #include "Animation/AnimSingleNodeInstanceProxy.h" |
Syntax
struct FAnimSingleNodeInstanceProxy : public FAnimInstanceProxy
Remarks
Proxy override for this UAnimInstance-derived class
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCanProcessAdditiveAnimations | If this is being used by a user (for instance on a skeletal mesh placed in a level) we don't want to allow additives. | |
| UAnimationAsset * | CurrentAsset | Current Asset being played. Note that this will be nullptr outside of pre/post update | |
| const UMirrorDataTable * | MirrorDataTable | If set the result will be mirrored using the table | |
| TMap< FName, float > | PreviewCurveOverride | Pose Weight value that can override curve data. | |
| FAnimNode_SingleNode | SingleNode | The internal anim node that does our processing |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAnimSingleNodeInstanceProxy
(
UAnimInstance* InAnimInstance |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| float | Returns the length (seconds), not including any rate multipliers, calculated by weighting the currently active samples | ||
| void | GetBlendSpaceState
(
FVector& OutPosition, |
Returns the current target/requested blend space position, and the filtered (smoothed) position. | |
| float | |||
| FVector | |||
| const UMirrorDataTable * | |||
| float | GetPlayRate () |
||
| bool | IsLooping () |
||
| bool | IsPlaying () |
||
| bool | IsReverse () |
||
| void | PropagatePreviewCurve
(
FPoseContext& Output |
||
| void | |||
| void | SetAnimationAsset
(
UAnimationAsset* NewAsset, |
||
| void | SetBlendSpacePosition
(
const FVector& InPosition |
Sets the target blend space position | |
| void | SetCurrentTime
(
float InCurrentTime |
||
| void | SetLooping
(
bool bIsLooping |
||
| void | SetMirrorDataTable
(
const UMirrorDataTable* InMirrorDataTable |
||
| void | SetMontagePreviewSlot
(
FName PreviewSlot |
Set the montage slot to preview. | |
| void | SetPlaying
(
bool bIsPlaying |
||
| void | SetPlayRate
(
float InPlayRate |
||
| void | SetPreviewCurveOverride
(
const FName& PoseName, |
||
| void | SetReverse
(
bool bInReverse |
||
| void | UpdateBlendspaceSamples
(
FVector InBlendInput |
||
| void | UpdateMontageWeightForSlot
(
const FName CurrentSlotNodeName, |
Update internal weight structures for supplied slot name. |
Overridden from FAnimInstanceProxy
| Type | Name | Description | |
|---|---|---|---|
| void | ClearObjects () |
Clear any UObjects we might be using. | |
| bool | Evaluate
(
FPoseContext& Output |
Evaluate override point | |
| void | Initialize
(
UAnimInstance* InAnimInstance |
Called when our anim instance is being initialized | |
| void | InitializeObjects
(
UAnimInstance* InAnimInstance |
Copy any UObjects we might be using. Called Pre-update and pre-evaluate. | |
| void | PostUpdate
(
UAnimInstance* InAnimInstance |
Called after update so we can copy any data we need | |
| void | PreUpdate
(
UAnimInstance* InAnimInstance, |
Called before update so we can copy any data we need | |
| void | UpdateAnimationNode
(
const FAnimationUpdateContext& InContext |
Updates the anim graph |