Show / Hide Table of Contents

Class BTTask_PlayAnimation

Play indicated AnimationAsset on Pawn controlled by BT Note that this node is generic and is handing multiple special cases,

Inheritance
System.Object
UObject
BTNode
BTTaskNode
BTTask_PlayAnimation
Inherited Members
BTTaskNode.Services
BTTaskNode.bIgnoreRestartSelf
BTNode.TreeAsset
BTNode.ParentNode
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
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 Source

AnimationToPlay

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
| Improve this Doc View Source

bLooping

Declaration
public bool bLooping { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bNonBlocking

Declaration
public bool bNonBlocking { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CachedSkelMesh

Cached Skel Mesh

Declaration
public SkeletalMeshComponent CachedSkelMesh { get; set; }
Property Value
Type Description
SkeletalMeshComponent
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static BTTask_PlayAnimation DefaultObject { get; }
Property Value
Type Description
BTTask_PlayAnimation
| Improve this Doc View Source

MyOwnerComp

My Owner Comp

Declaration
public BehaviorTreeComponent MyOwnerComp { get; set; }
Property Value
Type Description
BehaviorTreeComponent
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

New(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 Source

Implicit(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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX