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

Auxiliary nodes are supporting nodes, that receive notification about execution flow and can be ticked 更多...

#include <BTAuxiliaryNode.h>

+ 类 UBTAuxiliaryNode 继承关系图:

Protected 成员函数

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!
 

Protected 属性

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
 

详细描述

Auxiliary nodes are supporting nodes, 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:

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 their runtime properties in provided NodeMemory block (allocation size determined by GetInstanceMemorySize() )


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