Navigation
API > API/Plugins > API/Plugins/ContextualAnimation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UContextualAnimSceneInstance
References
Module | ContextualAnimation |
Header | /Engine/Plugins/Experimental/Animation/ContextualAnimation/Source/ContextualAnimation/Public/ContextualAnimSceneInstance.h |
Include | #include "ContextualAnimSceneInstance.h" |
Syntax
UCLASS&40;BlueprintType, Blueprintable&41;
class UContextualAnimSceneInstance : public UObject
Remarks
Instance of a contextual animation scene
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FOnContextualAnimSceneActorJoined | OnActorJoined | Delegate to notify external objects when an actor join |
![]() ![]() ![]() |
FOnContextualAnimSceneActorLeft | OnActorLeft | Delegate to notify external objects when an actor leave |
![]() ![]() ![]() |
FOnContextualAnimSceneNotify | OnNotifyBegin | Delegate to notify external objects when an animation hits a 'PlayMontageNotify' or 'PlayMontageNotifyWindow' begin |
![]() ![]() ![]() |
FOnContextualAnimSceneNotify | OnNotifyEnd | Delegate to notify external objects when an animation hits a 'PlayMontageNotify' or 'PlayMontageNotifyWindow' end |
![]() ![]() ![]() |
FOnContextualAnimSceneEnded | OnSceneEnded | Delegate to notify external objects when this is scene is completed after all montages played by the scene section blended out. |
![]() ![]() ![]() |
FOnContextualAnimSceneEnded | OnSectionEndTimeReached | Delegate to notify once the scene play time reaches the duration defined by the longest played montage of the selected section. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UContextualAnimSceneInstance
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FContextualAnimSceneBinding * | FindBindingByActor
(
const AActor* Actor |
|
![]() ![]() |
const FContextualAnimSceneBinding * | FindBindingByRole
(
const FName& Role |
|
![]() |
bool | ForceTransitionToSection
(
const int32 SectionIdx, |
Tells current scene instance to transition to a different section. |
![]() ![]() ![]() ![]() |
AActor * | GetActorByRole
(
FName Role |
|
![]() ![]() |
const FContextualAnimSceneBindings & | GetBindings () |
|
![]() |
FContextualAnimSceneBindings & | GetBindings () |
|
![]() |
TArray< FContextualAnimWarpPoint > & | ||
![]() ![]() |
const UContextualAnimSceneAsset & | ||
![]() ![]() ![]() |
UWorld * | GetWorld () |
|
![]() ![]() |
bool | IsActorInThisScene
(
const AActor* Actor |
Whether the supplied actor is part of this scene |
![]() ![]() |
bool | ||
![]() |
float | Join
(
FContextualAnimSceneBinding& Binding |
Tells the scene actor to join the scene (play animation) |
![]() |
void | Leave
(
FContextualAnimSceneBinding& Binding |
Tells the scene actor to leave the scene (stop animation) |
![]() ![]() |
void | OnMontageBlendingOut
(
UAnimMontage* Montage, |
|
![]() ![]() |
void | OnNotifyBeginReceived
(
FName NotifyName, |
|
![]() ![]() |
void | OnNotifyEndReceived
(
FName NotifyName, |
|
![]() ![]() |
void | SetIgnoreCollisionWithOtherActors
(
AActor* Actor, |
Helper function to set ignore collision between the supplied actor and all the other actors in this scene |
![]() |
void | SetWarpPoints
(
const TArray< FContextualAnimWarpPoint >& InWarpPoints |
|
![]() |
void | Start () |
Resolve initial alignment and start playing animation for all actors |
![]() |
void | Stop () |
Force all the actors to leave the scene |
![]() |
void | Tick
(
float DeltaTime |
|
![]() |
float | TransitionTo
(
FContextualAnimSceneBinding& Binding, |