Class MARSPlaneVisualizer
Creates planes as you scan your environment to preview the scanned data MARS has gathered.
Namespace: Unity.MARS.Visualizers
Syntax
public class MARSPlaneVisualizer : MonoBehaviour, IUsesPlaneFinding, IFunctionalitySubscriber<IProvidesPlaneFinding>, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>, 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 |
---|---|
Boolean |