If your model is located on a flat surface and will never be titled relative to the worlds horizon, you can improve the tracking results in some cases by using the plane constrained mode. More...
Inherits VLWorkerReferenceBehaviour.
Data Fields | |
Vector3 | modelCenter = new Vector3(0, 0, 0) |
Vector3 | modelUpVector = new Vector3(0, 1, 0) |
Vector3 | worldUpVector = new Vector3(0, 1, 0) |
Additional Inherited Members | |
Protected Member Functions inherited from VLWorkerReferenceBehaviour | |
virtual bool | InitWorkerReference () |
Initializes the workerBehaviour and Worker member variables. More... | |
Protected Attributes inherited from VLWorkerReferenceBehaviour | |
VLWorker | worker |
VLWorkerBehaviour | workerBehaviour |
Reference to used VLWorkerBehaviour. More... | |
If your model is located on a flat surface and will never be titled relative to the worlds horizon, you can improve the tracking results in some cases by using the plane constrained mode.
As long as this is enabled, the model tracker will only try to find poses that align the models up vector with the worlds up vector.
Only works with ARCore, ARKit, ARFoundation, HoloLens or other external SLAM sources. Extendible tracking has to be turned on. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments.