If disabled, the Component will stop enacting its behavior.
ReadonlyisReturns true if this Component, its SceneObject, and all of that SceneObjects parents are enabled.
ReadonlysceneThe SceneObject this component is on.
ReadonlyuniqueDestroys the component.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
This class has been DEPRECATED starting in Lens Studio 2.3. The
Component.MeshVisualtypename is now an alias for BaseMeshVisual. When upgrading a project to Lens Studio 2.3 or higher, any instances of the MeshVisual component will be upgraded to RenderMeshVisual.This class was split into the following three classes, to better distinguish the behaviors of child classes.
BaseMeshVisual: Base class for all visual classes using meshes to render
MaterialMeshVisual: Child class of BaseMeshVisual, gives access to the Materials used to render
RenderMeshVisual: Child class of MaterialMeshVisual, gives access to the RenderMesh used to render