Class SynthesizedPlane
Creates data for an MRPlane
When added to a synthesized object, adds a trackable MRPlane to the database.
When added to a simulated object, its plane will be provided to the database by the simulated plane provider.
Inheritance
SynthesizedPlane
Syntax
public class SynthesizedPlane : SynthesizedTrackable<MRPlane>, ISimulatable, IProvidesTraits<bool>, IProvidesTraits, IUsesMARSTrackableData<MRPlane>, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>, IFunctionalitySubscriber
Properties
TraitName
Declaration
public override string TraitName { get; }
Property Value
Overrides
Methods
GetData()
Declaration
public override MRPlane GetData()
Returns
Overrides
Unity.MARS.Data.SynthesizedTrackable<Unity.MARS.MRPlane>.GetData()
Initialize()
Declaration
public override void Initialize()
Overrides
SetMRPlaneData(List<Vector3>, Vector3, Vector2)
Declaration
public void SetMRPlaneData(List<Vector3> vertices, Vector3 center, Vector2 extents)
Parameters
Type |
Name |
Description |
List<Vector3> |
vertices |
|
Vector3 |
center |
|
Vector2 |
extents |
|
Terminate()
Declaration
public override void Terminate()
Overrides
ValidateUsingMeshCache()
Declaration
public void ValidateUsingMeshCache()
Explicit Interface Implementations
Declaration
IProvidesCameraOffset IFunctionalitySubscriber<IProvidesCameraOffset>.provider { get; set; }
Returns
Implements
Extension Methods