Lysa.nodes  0.0
Lysa 3D Engine
lysa.nodes Lua Namespace Reference

The lysa.nodes sub-module — scene-graph node types and utilities.

Enums & Constants

enum  AnimationPlayerEvent
 Event type constants emitted by AnimationPlayer nodes.
 
enum  CameraProjectionType
 Constants for the camera projection mode.
 
enum  CharacterEventType
 Event type constants emitted by Character nodes.
 
enum  NodeType
 Integer constants identifying the concrete type of a node.
 
enum  ProcessMode
 Constants that control when a node receives process and input callbacks.
 

Structures

struct  Collision
 Data describing a single physics collision contact.
 
struct  Light
 Base class for all light-emitting nodes.
 
struct  LoaderEventType
 Event type constants emitted by the async scene Loader.
 
struct  OmniLight
 A point (omnidirectional) light that emits equally in all directions.
 
struct  RayCast
 A node that continuously casts a ray from its origin along its local -Z axis and reports the first hit.
 
struct  RayCastHit
 Extended ray cast result that includes scene-node hit data in addition to the geometric hit.
 
struct  SpotLight
 A spot light that emits within a cone defined by inner and outer cutoff angles.
 
struct  TimerEvent
 Event type constants emitted by Timer nodes.
 
struct  Viewport
 A node that defines a viewport and scissor region for the scene camera.
 

Classes

class  AnimationPlayer
 A node that plays skeletal or property animations from an asset's animation library.
 
class  Camera
 A scene camera node providing perspective or orthographic projection.
 
class  Character
 A capsule-based character controller for first/third-person movement, driven via velocity each physics tick.
 
class  CollisionArea
 A trigger volume that detects overlapping physics bodies without applying forces.
 
class  CollisionObject
 Base class for all physics collision objects. Provides shape and layer management.
 
class  DirectionalLight
 A directional light with parallel rays (e.g. sunlight). Supports cascaded shadow maps.
 
class  Environment
 A node that sets the ambient light for its scene.
 
class  KinematicBody
 A physics body moved programmatically via transforms rather than forces (e.g. moving platforms).
 
class  Loader
 Utility for loading scene files synchronously or asynchronously.
 
class  MeshInstance
 A renderable node that pairs a GPU Mesh with a scene-tree transform and per-surface material overrides.
 
class  Node
 The base class for all scene-tree nodes. Provides transform, hierarchy, grouping, and lifecycle callbacks.
 
class  PhysicsBody
 Base class for physics bodies that participate in the simulation.
 
class  RigidBody
 A fully simulated rigid body driven by the physics engine (mass, forces, impulses).
 
class  SceneTree
 The root container for a scene hierarchy; manages the node tree, camera, and rendering attachment.
 
class  StaticBody
 A non-moving physics body (walls, floors, terrain). Other bodies collide with it but it is never displaced.
 
class  Timer
 A countdown timer node that fires a TIMEOUT event when it expires.