engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | Protected 属性 | 所有成员列表
UBTDecorator_DoesPathExist类 参考

Cooldown decorator node. 更多...

#include <BTDecorator_DoesPathExist.h>

+ 类 UBTDecorator_DoesPathExist 继承关系图:

Public 成员函数

virtual bool CalculateRawConditionValue (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory) const override
 calculates raw, core value of decorator's condition. 更多...
 

Public 属性

TSubclassOf< UNavigationQueryFilter > FilterClass
 "None" will result in default filter being used
 

Protected 属性

FBlackboardKeySelector BlackboardKeyA
 blackboard key selector
 
FBlackboardKeySelector BlackboardKeyB
 blackboard key selector
 
- Protected 属性 继承自 UBTDecorator
uint32 bAllowAbortChildNodes: 1
 if set, FlowAbortMode can be set to Self and Both
 
uint32 bAllowAbortLowerPri: 1
 if set, FlowAbortMode can be set to LowerPriority and Both
 
uint32 bAllowAbortNone: 1
 if set, FlowAbortMode can be set to None
 
uint32 bNotifyActivation: 1
 if set, OnNodeActivation will be used
 
uint32 bNotifyDeactivation: 1
 if set, OnNodeDeactivation will be used
 
uint32 bNotifyProcessed: 1
 if set, OnNodeProcessed will be used
 
uint32 bShowInverseConditionDesc: 1
 if set, static description will include default description of inversed condition
 
TEnumAsByte< EBTFlowAbortMode::Type > FlowAbortMode
 flow controller settings
 
- Protected 属性 继承自 UBTAuxiliaryNode
uint8 bNotifyBecomeRelevant:1
 if set, OnBecomeRelevant will be used
 
uint8 bNotifyCeaseRelevant:1
 if set, OnCeaseRelevant will be used
 
uint8 bNotifyTick: 1
 if set, OnTick will be used
 
uint8 bTickIntervals: 1
 if set, conditional tick will use remaining time form node's memory
 
uint8 ChildIndex
 child index in parent node
 

额外继承的成员函数

- Protected 成员函数 继承自 UBTDecorator
virtual bool CalculateRawConditionValue (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory) const
 calculates raw, core value of decorator's condition. 更多...
 
void ConditionalFlowAbort (UBehaviorTreeComponent &OwnerComp, EBTDecoratorAbortRequest RequestMode) const
 more "flow aware" version of calling RequestExecution(this) on owning behavior tree component should be used in external events that may change result of CalculateRawConditionValue
 
virtual void OnNodeActivation (FBehaviorTreeSearchData &SearchData)
 called when underlying node is activated this function should be considered as const (don't modify state of object) if node is not instanced!
 
virtual void OnNodeDeactivation (FBehaviorTreeSearchData &SearchData, EBTNodeResult::Type NodeResult)
 called when underlying node has finished this function should be considered as const (don't modify state of object) if node is not instanced!
 
virtual void OnNodeProcessed (FBehaviorTreeSearchData &SearchData, EBTNodeResult::Type &NodeResult)
 called when underlying node was processed (deactivated or failed to activate) this function should be considered as const (don't modify state of object) if node is not instanced!
 
- Protected 成员函数 继承自 UBTAuxiliaryNode
float GetNextTickRemainingTime (uint8 *NodeMemory) const
 gets remaining time for next tick
 
virtual void OnBecomeRelevant (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory)
 called when auxiliary node becomes active this function should be considered as const (don't modify state of object) if node is not instanced!
 
virtual void OnCeaseRelevant (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory)
 called when auxiliary node becomes inactive this function should be considered as const (don't modify state of object) if node is not instanced!
 
void SetNextTickTime (uint8 *NodeMemory, float RemainingTime) const
 sets next tick time
 
virtual void TickNode (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory, float DeltaSeconds)
 tick function this function should be considered as const (don't modify state of object) if node is not instanced!
 

详细描述

Cooldown decorator node.

A decorator node that bases its condition on whether a path exists between two points from the Blackboard.

成员函数说明

◆ CalculateRawConditionValue()

virtual bool UBTDecorator_DoesPathExist::CalculateRawConditionValue ( UBehaviorTreeComponent &  OwnerComp,
uint8 *  NodeMemory 
) const
overridevirtual

calculates raw, core value of decorator's condition.

Should not include calling IsInversed

重载 UBTDecorator .


该类的文档由以下文件生成: