NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::NeuralTrainingAgent Class Referencefinal

#include <NativeScripts.h>

Inheritance diagram for NoJob::NeuralTrainingAgent:
NoJob::ScriptableEntity

Public Member Functions

void OnCreate () override
 Called when the runtime script instance is created.
void OnDestroy () override
 Called before the runtime script instance is destroyed.
void OnUpdate (float dt) override
 Called during scene updates.
Public Member Functions inherited from NoJob::ScriptableEntity
virtual ~ScriptableEntity ()=default
virtual bool GetNeuralDebugSnapshot (NeuralAgent::Snapshot &out) const
 Provides live neural diagnostics across project DLL boundaries.
virtual void RegisterBehaviorTreeBindings (BTNativeRegistry &) const
const std::string & GetAIDebugState () const
const std::string & GetAIDebugPreviousState () const
float GetAIDebugTimeInState () const
float GetAIDebugRuntimeSeconds () const
const std::vector< AIStateTransition > & GetAIDebugTransitions () const
template<typename T>
T & GetComponent ()
template<typename T>
bool HasComponent () const
Entity GetEntity () const

Additional Inherited Members

Protected Member Functions inherited from NoJob::ScriptableEntity
void TickAIDebug (float dt)
void SetAIDebugState (const char *state)
NativeScriptComponent & ScriptComponent ()
float GetFloat (const std::string &name, float fallback=0.0f) const
int GetInt (const std::string &name, int fallback=0) const
bool GetBool (const std::string &name, bool fallback=false) const
glm::vec3 GetVec3 (const std::string &name, glm::vec3 fallback={}) const

Detailed Description

Definition at line 47 of file NativeScripts.h.

Member Function Documentation

◆ OnCreate()

◆ OnDestroy()

void NoJob::NeuralTrainingAgent::OnDestroy ( )
inlineoverridevirtual

Called before the runtime script instance is destroyed.

Reimplemented from NoJob::ScriptableEntity.

Definition at line 80 of file NativeScripts.h.

References NoJob::NeuralAgent::Clear(), and NoJob::ScriptableEntity::GetEntity().

◆ OnUpdate()


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