MAGE  v0.171.0
Matthias Advanced Game Engine
mage::script::VoxelGridAnchorScript Class Reference

#include <voxel_grid_anchor_script.hpp>

Inheritance diagram for mage::script::VoxelGridAnchorScript:
mage::BehaviorScript mage::Component

Public Member Functions

 VoxelGridAnchorScript ()
 
 VoxelGridAnchorScript (const VoxelGridAnchorScript &script) noexcept
 
 VoxelGridAnchorScript (VoxelGridAnchorScript &&script) noexcept
 
virtual ~VoxelGridAnchorScript ()
 
VoxelGridAnchorScript & operator= (const VoxelGridAnchorScript &script) noexcept
 
VoxelGridAnchorScript & operator= (VoxelGridAnchorScript &&script) noexcept
 
virtual void Load ([[maybe_unused]] Engine &engine) override
 
virtual void Update ([[maybe_unused]] Engine &engine) override
 
- Public Member Functions inherited from mage::BehaviorScript
virtual ~BehaviorScript ()
 
BehaviorScript & operator= (const BehaviorScript &script) noexcept
 
BehaviorScript & operator= (BehaviorScript &&script) noexcept
 
virtual void FixedUpdate ([[maybe_unused]] Engine &engine)
 
virtual void Close ([[maybe_unused]] Engine &engine)
 
- Public Member Functions inherited from mage::Component
virtual ~Component ()
 
Component & operator= (const Component &component) noexcept
 
Component & operator= (Component &&component) noexcept
 
State GetState () const noexcept
 
void SetState (State state) noexcept
 
U64 GetGuid () const noexcept
 
bool HasOwner () const noexcept
 
ProxyPtr< Node > GetOwner () noexcept
 
ProxyPtr< const Node > GetOwner () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from mage::BehaviorScript
 BehaviorScript () noexcept
 
 BehaviorScript (const BehaviorScript &script) noexcept
 
 BehaviorScript (BehaviorScript &&script) noexcept
 
- Protected Member Functions inherited from mage::Component
 Component () noexcept
 
 Component (const Component &component) noexcept
 
 Component (Component &&component) noexcept
 

Constructor & Destructor Documentation

◆ VoxelGridAnchorScript() [1/3]

mage::script::VoxelGridAnchorScript::VoxelGridAnchorScript ( )

◆ VoxelGridAnchorScript() [2/3]

mage::script::VoxelGridAnchorScript::VoxelGridAnchorScript ( const VoxelGridAnchorScript &  script)
defaultnoexcept

◆ VoxelGridAnchorScript() [3/3]

mage::script::VoxelGridAnchorScript::VoxelGridAnchorScript ( VoxelGridAnchorScript &&  script)
defaultnoexcept

◆ ~VoxelGridAnchorScript()

mage::script::VoxelGridAnchorScript::~VoxelGridAnchorScript ( )
virtualdefault

Member Function Documentation

◆ Load()

void mage::script::VoxelGridAnchorScript::Load ( [[maybe_unused] ] Engine &  engine)
overridevirtual

Loads this behavior script. Allows this behavior script to preform any pre-processing.

Parameters
[in,out]engineA reference to the engine.
Exceptions
ExceptionFailed to load this behavior script.

Reimplemented from mage::BehaviorScript.

◆ operator=() [1/2]

VoxelGridAnchorScript & mage::script::VoxelGridAnchorScript::operator= ( const VoxelGridAnchorScript &  script)
defaultnoexcept

◆ operator=() [2/2]

VoxelGridAnchorScript & mage::script::VoxelGridAnchorScript::operator= ( VoxelGridAnchorScript &&  script)
defaultnoexcept

◆ Update()

void mage::script::VoxelGridAnchorScript::Update ( [[maybe_unused] ] Engine &  engine)
overridevirtual

Updates this behavior script.

This method is called once per frame.

Parameters
[in,out]engineA reference to the engine.
Exceptions
ExceptionFailed to update this behavior script.

Reimplemented from mage::BehaviorScript.