Lua Class - sceneObject

Extends objectBase

sceneObject is a class that contains 4 properties, 0 methods and 0 events. This class extends objectBase.

This class cannot be constructed, it is managed by Teverse.

test test test!

Properties
READONLY
vector3 absolutePosition

CODE SAMPLE
print(sceneObject.absolutePosition) --> vector3(10, 10, 10)
READONLY
quaternion absoluteRotation

CODE SAMPLE
print(sceneObject.absoluteRotation) --> quaternion
vector3 position

CODE SAMPLE
sceneObject.position = vector3(10, 10, 10)
print(sceneObject.position) --> vector3(10, 10, 10)
quaternion rotation

CODE SAMPLE
sceneObject.rotation = quaternion
print(sceneObject.rotation) --> quaternion
INHERITED READONLY
number id

CODE SAMPLE
print(sceneObject.id) --> 1.0
INHERITED
string name

CODE SAMPLE
sceneObject.name = ""
print(sceneObject.name) --> ""
Methods
INHERITED
destroy( )
CODE SAMPLE
sceneObject:destroy() --> 

Destroys this object, further accessing this instance will error

Events

Some sections of our docs are maintained on github.