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
[ExecuteInEditMode]
[RequireComponent(typeof(SynthesizedPose))]
[RequireComponent(typeof(SynthesizedAlignment))]
[RequireComponent(typeof(SynthesizedBounds2D))]
[MovedFrom("Unity.MARS.Data")]
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.Synthetic.SynthesizedTrackable<Unity.MARS.Data.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
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