WorldRootController Class

Description

MonoBehaviour which controls the world root in the scene.

The world root is a virtual node, representing the relative node when the camera moves in a motion tracking system. It will be automatically generated to be the origin of the global coordinate system when needed if not manually set in the scene.


Enums

public enum WorldRootController.ActiveControlStrategy

Strategy to control the GameObject .active.


MonoBehaviour Messages

protected virtual void Start()


Fields

ActiveControl

C#

public WorldRootController.ActiveControlStrategy ActiveControl

Strategy to control the GameObject .active. If you are willing to control GameObject .active or there are other components controlling GameObject .active, make sure to set it to WorldRootController.ActiveControlStrategy.None .


Properties

TrackingStatus

C#

public MotionTrackingStatus TrackingStatus { get; }

Motion tracking status at the moment.


Events

TrackingStatusChanged

C#

public event Action< MotionTrackingStatus > TrackingStatusChanged

Motion tracking status change event.