Class BTTask_PlayAnimation
Play indicated AnimationAsset on Pawn controlled by BT Note that this node is generic and is handing multiple special cases,
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.AIModule
Assembly: UE4DotNet.dll
Syntax
public class BTTask_PlayAnimation : BTTaskNode
Remarks
If you want a more efficient solution you'll need to implement it yourself (or wait for our BTTask_PlayCharacterAnimation)
Properties
| Improve this Doc View SourceAnimationToPlay
Animation asset to play. Note that it needs to match the skeleton of pawn this BT is controlling
Declaration
public AnimationAsset AnimationToPlay { get; set; }
Property Value
Type | Description |
---|---|
AnimationAsset |
bLooping
Declaration
public bool bLooping { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bNonBlocking
Declaration
public bool bNonBlocking { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CachedSkelMesh
Cached Skel Mesh
Declaration
public SkeletalMeshComponent CachedSkelMesh { get; set; }
Property Value
Type | Description |
---|---|
SkeletalMeshComponent |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static BTTask_PlayAnimation DefaultObject { get; }
Property Value
Type | Description |
---|---|
BTTask_PlayAnimation |
MyOwnerComp
My Owner Comp
Declaration
public BehaviorTreeComponent MyOwnerComp { get; set; }
Property Value
Type | Description |
---|---|
BehaviorTreeComponent |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static BTTask_PlayAnimation New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
BTTask_PlayAnimation |
Operators
| Improve this Doc View SourceImplicit(IntPtr to BTTask_PlayAnimation)
Convert from IntPtr to UObject
Declaration
public static implicit operator BTTask_PlayAnimation(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
BTTask_PlayAnimation |