Show / Hide Table of Contents

Class BehaviorTreeComponent

Behavior Tree Component

Inheritance
System.Object
UObject
ActorComponent
BrainComponent
BehaviorTreeComponent
Inherited Members
BrainComponent.IsPaused()
BrainComponent.IsRunning()
BrainComponent.RestartLogic()
BrainComponent.StopLogic(String)
BrainComponent.BlackboardComp
BrainComponent.AIOwner
ActorComponent.RegisterComponent()
ActorComponent.UnregisterComponent()
ActorComponent.ReceiveBeginPlay
ActorComponent.ReceiveEndPlay
ActorComponent.ReceiveTick
ActorComponent.Activate(Boolean)
ActorComponent.AddTickPrerequisiteActor(Actor)
ActorComponent.AddTickPrerequisiteComponent(ActorComponent)
ActorComponent.ComponentHasTag(Name)
ActorComponent.Deactivate()
ActorComponent.GetComponentTickInterval()
ActorComponent.GetOwner()
ActorComponent.IsActive()
ActorComponent.IsBeingDestroyed()
ActorComponent.IsComponentTickEnabled()
ActorComponent.K2_DestroyComponent(UObject)
ActorComponent.RemoveTickPrerequisiteActor(Actor)
ActorComponent.RemoveTickPrerequisiteComponent(ActorComponent)
ActorComponent.SetActive(Boolean, Boolean)
ActorComponent.SetAutoActivate(Boolean)
ActorComponent.SetComponentTickEnabled(Boolean)
ActorComponent.SetComponentTickInterval(Single)
ActorComponent.SetIsReplicated(Boolean)
ActorComponent.SetTickableWhenPaused(Boolean)
ActorComponent.SetTickGroup(Byte)
ActorComponent.ToggleActive()
ActorComponent.PrimaryComponentTick
ActorComponent.AssetUserData
ActorComponent.bReplicates
ActorComponent.bNetAddressable
ActorComponent.bAutoActivate
ActorComponent.bIsActive
ActorComponent.bEditableWhenInherited
ActorComponent.bCanEverAffectNavigation
ActorComponent.bIsEditorOnly
ActorComponent.bIsVisualizationComponent
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 BehaviorTreeComponent : BrainComponent

Properties

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

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

NodeInstances

instanced nodes

Declaration
public ObjectArrayField<BTNode> NodeInstances { get; }
Property Value
Type Description
ObjectArrayField<BTNode>
| 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

AddCooldownTagDuration(GameplayTag, Single, Boolean)

add to the cooldown tag's duration

Declaration
public void AddCooldownTagDuration(GameplayTag CooldownTag, float CooldownDuration, bool bAddToExistingDuration)
Parameters
Type Name Description
GameplayTag CooldownTag
System.Single CooldownDuration
System.Boolean bAddToExistingDuration
| Improve this Doc View Source

GetTagCooldownEndTime(GameplayTag)

@return the cooldown tag end time, 0.0f if CooldownTag is not found

Declaration
public float GetTagCooldownEndTime(GameplayTag CooldownTag)
Parameters
Type Name Description
GameplayTag CooldownTag
Returns
Type Description
System.Single
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static BehaviorTreeComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
BehaviorTreeComponent
| Improve this Doc View Source

SetDynamicSubtree(GameplayTag, BehaviorTree)

assign subtree to RunBehaviorDynamic task specified by tag

Declaration
public void SetDynamicSubtree(GameplayTag InjectTag, BehaviorTree BehaviorAsset)
Parameters
Type Name Description
GameplayTag InjectTag
BehaviorTree BehaviorAsset

Operators

| Improve this Doc View Source

Implicit(IntPtr to BehaviorTreeComponent)

Convert from IntPtr to UObject

Declaration
public static implicit operator BehaviorTreeComponent(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
BehaviorTreeComponent
  • Improve this Doc
  • View Source
Back to top Generated by DocFX