#include <rotation_script.hpp>
◆ RotationAxis
◆ RotationScript() [1/3]
mage::script::RotationScript::RotationScript |
( |
| ) |
|
◆ RotationScript() [2/3]
mage::script::RotationScript::RotationScript |
( |
const RotationScript & |
script | ) |
|
|
defaultnoexcept |
◆ RotationScript() [3/3]
mage::script::RotationScript::RotationScript |
( |
RotationScript && |
script | ) |
|
|
defaultnoexcept |
◆ ~RotationScript()
mage::script::RotationScript::~RotationScript |
( |
| ) |
|
|
virtualdefault |
◆ GetRotationAxis()
RotationAxis mage::script::RotationScript::GetRotationAxis |
( |
| ) |
const |
|
noexcept |
◆ Load()
void mage::script::RotationScript::Load |
( |
[[maybe_unused] ] Engine & |
engine | ) |
|
|
overridevirtual |
Loads this behavior script. Allows this behavior script to preform any pre-processing.
- Parameters
-
[in,out] | engine | A reference to the engine. |
- Exceptions
-
Exception | Failed to load this behavior script. |
Reimplemented from mage::BehaviorScript.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SetRotationAxis()
void mage::script::RotationScript::SetRotationAxis |
( |
RotationAxis |
axis | ) |
|
|
noexcept |
◆ Update()
void mage::script::RotationScript::Update |
( |
[[maybe_unused] ] Engine & |
engine | ) |
|
|
overridevirtual |
Updates this behavior script.
This method is called once per frame.
- Parameters
-
[in,out] | engine | A reference to the engine. |
- Exceptions
-
Exception | Failed to update this behavior script. |
Reimplemented from mage::BehaviorScript.
◆ m_axis