Is there a way to enable or disable the guide view or change the guide view mode visa C# script?
A logical use case example may be if you would like to have multiple trackable behaviours in a scene ie. an image target, a markerless target, a model target - and have the ability to toggle the visibility of the guide view so that it does not obstruct the view of other trackables if the model target has not yet been detected.
Regards,
Oliver
The fix I found was the following:
@object.GetComponent<ModelTargetBehaviour>().GuideViewMode = ModelTargetBehaviour.GuideViewDisplayMode.GuideView3D;
@object.GetComponent<ModelTargetBehaviour>().GuideViewMode = ModelTargetBehaviour.GuideViewDisplayMode.GuideView2D;