Show / Hide Table of Contents

Class BTDecorator

Decorators are supporting nodes placed on parent-child connection, that receive notification about execution flow and can be ticked Because some of them can be instanced for specific AI, following virtual functions are not marked as const:

  • OnNodeActivation
  • OnNodeDeactivation
  • OnNodeProcessed
  • OnBecomeRelevant (from UBTAuxiliaryNode)
  • OnCeaseRelevant (from UBTAuxiliaryNode)
  • TickNode (from UBTAuxiliaryNode) If your node is not being instanced (default behavior), DO NOT change any properties of object within those functions! Template nodes are shared across all behavior tree components using the same tree asset and must store
Inheritance
System.Object
UObject
BTNode
BTAuxiliaryNode
BTDecorator
BTDecorator_BlackboardBase
BTDecorator_BlueprintBase
BTDecorator_CheckGameplayTagsOnActor
BTDecorator_CompareBBEntries
BTDecorator_ConeCheck
BTDecorator_Cooldown
BTDecorator_DoesPathExist
BTDecorator_ForceSuccess
BTDecorator_KeepInCone
BTDecorator_Loop
BTDecorator_ReachedMoveGoal
BTDecorator_SetTagCooldown
BTDecorator_TagCooldown
BTDecorator_TimeLimit
Inherited Members
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 BTDecorator : BTAuxiliaryNode
Remarks

their runtime properties in provided NodeMemory block (allocation size determined by GetInstanceMemorySize() )

Properties

| Improve this Doc View Source

bInverseCondition

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

DefaultObject

Get UE4 Default Object for this Class

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

FlowAbortMode

flow controller settings

Declaration
public byte FlowAbortMode { get; set; }
Property Value
Type Description
System.Byte
| 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 BTDecorator New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
BTDecorator

Operators

| Improve this Doc View Source

Implicit(IntPtr to BTDecorator)

Convert from IntPtr to UObject

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