Class MARSPlaneVisualizer
Creates planes as you scan your environment to preview the scanned data MARS has gathered.
Implements
IFunctionalitySubscriber<IProvidesPlaneFinding>
IFunctionalitySubscriber<IProvidesCameraOffset>
IFunctionalitySubscriber
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.MARS.Visualizers
Assembly: Unity.MARS.dll
Syntax
[HelpURL("https://docs.unity3d.com/Packages/com.unity.mars@1.6/manual/ReferenceGuideVisualizers.html#plane-visualizer-marsplanevisualizer")]
public class MARSPlaneVisualizer : MonoBehaviour, IUsesPlaneFinding, IFunctionalitySubscriber<IProvidesPlaneFinding>, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>, IFunctionalitySubscriber, ISimulatable
Properties
EdgeSettings
The edge settings to use when creating planes.
Declaration
public PlaneEdgeSettings EdgeSettings { get; set; }
Property Value
Type | Description |
---|---|
PlaneEdgeSettings |
PlanePrefab
Prefab to instantiate when creating planes.
Declaration
public GameObject PlanePrefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject |
UsePlaneGeometry
If checked, the planes will match the geometry of the scanned environment; Unchecked will generate square planes.
Declaration
public bool UsePlaneGeometry { get; set; }
Property Value
Type | Description |
---|---|
bool |
Implements
Unity.XRTools.ModuleLoader.IFunctionalitySubscriber<TProvider>
Unity.XRTools.ModuleLoader.IFunctionalitySubscriber<TProvider>
Unity.XRTools.ModuleLoader.IFunctionalitySubscriber