-
Notifications
You must be signed in to change notification settings - Fork 0
SceneObject
Noah Gallo edited this page Mar 12, 2023
·
2 revisions
Every scene has a collection of SceneObjects. SceenObject is a base class for allowing users to create custom objects in a scene.
| 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 |
| 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 |