Skip to content

SceneObject

Noah Gallo edited this page Mar 12, 2023 · 2 revisions

SceneObject

Every scene has a collection of SceneObjects. SceenObject is a base class for allowing users to create custom objects in a scene.

Public Fields/Properties

Name Property? Type Description
ID No int The object ID
name No string The name of the Object
transform No Transform The transform controls the objects model matrix

Public Methods

Signature Return Type Description
Start() void Called at the beginning of every frame
Update() void Called every frame while the scene is active
Render() void Called at the end of frame and used for rendering calls
Copy() SceneObject* Creates a copy of the current object and returns the pointer to the copy

Clone this wiki locally