![]() |
Lysa Nodes
0.0
Lysa Nodes — Scene Graph for the Lysa Engine
|
Classes | |
| class | AnimationPlayer |
| struct | AnimationPlayerEvent |
| class | Camera |
| class | Character |
| struct | CharacterEventType |
| class | CollisionArea |
| class | CollisionObject |
| class | DirectionalLight |
| class | Environment |
| class | KinematicBody |
| class | Light |
| class | MeshInstance |
| class | Node |
| class | OmniLight |
| class | PhysicsBody |
| class | RayCast |
| class | RigidBody |
| class | SceneTree |
| class | SpotLight |
| class | StaticBody |
| class | Viewport |
Typedefs | |
| using | LoaderHandlerCallback = std::function< void (std::shared_ptr< Node >)> |
Enums | |
| enum class | CameraProjectionType { PERSPECTIVE = 0, ORTHOGRAPHIC = 1 } |
| enum class | ProcessMode { INHERIT = 0, PAUSABLE = 1, WHEN_PAUSED = 2, ALWAYS = 3, DISABLED = 4 } |
Functions | |
| std::shared_ptr< Node > | load (const std::string &URI) |
| void | loadAsync (const std::string &URI, LoaderHandlerCallback callback) |
| using LoaderHandlerCallback = std::function<void(std::shared_ptr<Node>)> |
|
strong |
Camera projection types
| Enum Values | Documentation |
|---|---|
| PERSPECTIVE | Perspective projection |
| ORTHOGRAPHIC | Orthographic projection |
|
strong |
Nodes state when the scene is paused or running
| std::shared_ptr<Node> lysa::nodes::load | ( | const std::string & | URI | ) |
Loads an assets pack from a URI
| URI | The URI of the node to load |
| void lysa::nodes::loadAsync | ( | const std::string & | URI, |
| LoaderHandlerCallback | callback | ||
| ) |
Loads an assets pack from a URI in a background thread
| URI | The URI of the node to load |
| callback | callback called at the start of the frame following the loading |