|
Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine. GitHub | Vesper Updates | Creator |
Component that holds scripting data for an entity. More...
#include <Components.h>
Public Member Functions | |
| template<typename T> | |
| void | Bind () |
| Binds a script type to this component. | |
Public Attributes | |
| ScriptableEntity * | Instance = nullptr |
| Pointer to the instance of the scriptable entity. | |
| ScriptableEntity *(* | InstantiateScript )() |
| Function pointer to instantiate the script. | |
| void(* | DestroyScript )(NativeScriptComponent *) |
| Function pointer to destroy the script. | |
Component that holds scripting data for an entity.
|
inline |
Binds a script type to this component.
| T | The type of the script to bind. |
| void(* Vesper::NativeScriptComponent::DestroyScript) (NativeScriptComponent *) |
Function pointer to destroy the script.
| ScriptableEntity* Vesper::NativeScriptComponent::Instance = nullptr |
Pointer to the instance of the scriptable entity.
| ScriptableEntity *(* Vesper::NativeScriptComponent::InstantiateScript) () |
Function pointer to instantiate the script.