Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.Get.GetRectAroundObject Class Reference

Detailed Description

Computes rect with AI instance in the center.

Inheritance diagram for Doloro.AI.Get.GetRectAroundObject:
Collaboration diagram for Doloro.AI.Get.GetRectAroundObject:

Public Member Functions

override Result Pass (Brain ai)
 Implements runtime execution logic for the logical node. More...
 
virtual void Init (Brain ai)
 Calling one time when AI initializing. More...
 
virtual void End (Brain ai)
 Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail More...
 

Public Attributes

string targetVariable = "attackTarget"
 Name of variable that contains target object.
 
Rect baseRect = new Rect(-5, -5, 10, 10)
 Rect that will be recomputed relative to target position.
 
string outputVariable = "targetRectZone"
 Name of variable that will contains result.
 

Properties

Rect rect [get, protected set]
 Computed rect.
 
PipelineItem self [get, set]
 Reference to node that contains this action.
 
virtual DataManagement.DynamicResources.Version version [get]
 Source version. More...
 
virtual string author [get]
 Source author.
 

Member Function Documentation

◆ End()

virtual void Doloro.AI.Action.End ( Brain  ai)
virtualinherited

Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail

Parameters
aiSource AI entity.

Reimplemented in Doloro.AI.Parallel, and Doloro.AI.LogicCoresRoot.

◆ Init()

◆ Pass()

override Result Doloro.AI.Get.GetRectAroundObject.Pass ( Brain  ai)
virtual

Implements runtime execution logic for the logical node.

Parameters
aiReference to AI entity.
Returns
Result of operation. Success, Fail or In progress.

Implements Doloro.AI.Action.

Property Documentation

◆ version

virtual DataManagement.DynamicResources.Version Doloro.AI.Action.version
getinherited
Initial value:
=
DataManagement.DynamicResources.Version._100

Source version.

Should be a constant value that defines what a version of relevant source is. Could be use for patching of the data according with version changes.


The documentation for this class was generated from the following file: