If disabled, the Component will stop enacting its behavior.
Readonly
sceneThe scene object this component is on.
Readonly
uniqueAdds a new SceneEvent, triggered by eventType
events, to the ScriptComponent.
Returns the SceneObject the component is attached to.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Removes a previously added SceneEvent from the ScriptComponent.
Static
get
BACKGROUND A first pass at a naive simple Level Of Detail (LOD) RenderMeshVisual Naive because it only tests distance from the center of the object to the camera ( which will fail with super large objects ) ---- possible improvement may may distance in relative z plane to the object Simple because there is no fading between different meshes, instead it just pops to the defined mesh at the defined depth ---- possible improvement is a crossfade That being said, it works pretty dang good