Resources

Functions

Shader object <- getShader (Integer guid | String name)
Gets a Shader object by ID or name

Light object <- getLight (Integer guid | String name)
Gets a Light base object by ID or name

Camera object <- getCamera (Integer guid | String name)
Gets a Camera base object by ID or name

PointLight object <- getPointLight (Integer guid | String name)
Gets a PointLight object by ID or name

Texture object <- getTexture (Integer guid | String name)
Gets a Texture object by ID or name

Transform object <- getTransform (Integer guid | String name)
Gets a Transform object by ID or name

GeometryStaticMesh object <- getStaticMesh (Integer guid | String name)
Gets a GeometryStaticMesh object by ID or name; this is a specific geometry type that contains static triangle data.

GeometryBase object <- getGeometry (Integer guid | String name)
Gets a Geometry base object by ID or name

Blendmode object <- getBlendmode (Integer guid | String name)
Gets a Blendmode object by ID or name

Shader object <- newShader ()
Gets a Camera base object by ID or name

PerspectiveCamera object <- newPerspectiveCamera ()
Gets a Camera base object by ID or name

OrthogonalCamera object <- newOrthoCamera ()
Gets a Camera base object by ID or name

PointLight object <- newPointLight ()
Gets a Camera base object by ID or name

Texture object <- newTexture ()
Gets a Camera base object by ID or name

Transform object <- newTransform ()
Gets a Camera base object by ID or name

GeometryStaticMesh object <- newGeometryStaticMesh ()
Gets a Camera base object by ID or name

Blendmode object <- newBlendmode ()
Gets a Camera base object by ID or name

Integer guid <- resolveName (String name)
Gets a Camera base object by ID or name

Nil <- registerName (Resource object)
Gets a Camera base object by ID or name

Classes

Camera
Base class for cameras

PerspectiveCamera
A perspective camera simulates a traditional 3D viewpoint where distant objects appear smaller.

OrthogonalCamera
An orthogonal camera maintains a 3D viewpoint where an object is the same size no matter how close it is.

GeometryBase
Base class for geometry

GeometryStaticMesh
Stores mesh data for geometry that does not change.

Light
Base class for lights

PointLight
Simulates light radiating outward from a single point.

Shader
Stores shading information for the renderer to use when drawing geometry.

Texture
Stores a bitmap for use in a shader.

Transform
Stores the orientation, scale, and position of an object.

Entity
Represents an object in the game or simulation world. Typically, scripts and physics are bound to entities.
Game state interactions are also typically done with entities.

Blendmode
Changes the current blending mode for rendering.