docs.unity3d.com
    目次を表示する/隠す

    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
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    SynthesizedTrackable
    SynthesizedTrackable<MRPlane>
    SynthesizedPlane
    Inherited Members
    SynthesizedTrackable<MRPlane>.AddSynthData(Int32)
    SynthesizedTrackable<MRPlane>.UpdateSynthData()
    SynthesizedTrackable<MRPlane>.RemoveSynthData(Int32)
    SynthesizedTrackable.SynthesizedObject
    SynthesizedTrackable.HasValidValue
    SynthesizedTrackable.OnDisable()
    SynthesizedTrackable.TryAdd()
    SynthesizedTrackable.TryRemove()
    MonoBehaviour.IsInvoking()
    MonoBehaviour.CancelInvoke()
    MonoBehaviour.Invoke(String, Single)
    MonoBehaviour.InvokeRepeating(String, Single, Single)
    MonoBehaviour.CancelInvoke(String)
    MonoBehaviour.IsInvoking(String)
    MonoBehaviour.StartCoroutine(String)
    MonoBehaviour.StartCoroutine(String, Object)
    MonoBehaviour.StartCoroutine(IEnumerator)
    MonoBehaviour.StartCoroutine_Auto(IEnumerator)
    MonoBehaviour.StopCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(Coroutine)
    MonoBehaviour.StopCoroutine(String)
    MonoBehaviour.StopAllCoroutines()
    MonoBehaviour.print(Object)
    MonoBehaviour.useGUILayout
    MonoBehaviour.runInEditMode
    Behaviour.enabled
    Behaviour.isActiveAndEnabled
    Component.GetComponent(Type)
    Component.GetComponent<T>()
    Component.TryGetComponent(Type, Component)
    Component.TryGetComponent<T>(T)
    Component.GetComponent(String)
    Component.GetComponentInChildren(Type, Boolean)
    Component.GetComponentInChildren(Type)
    Component.GetComponentInChildren<T>(Boolean)
    Component.GetComponentInChildren<T>()
    Component.GetComponentsInChildren(Type, Boolean)
    Component.GetComponentsInChildren(Type)
    Component.GetComponentsInChildren<T>(Boolean)
    Component.GetComponentsInChildren<T>(Boolean, List<T>)
    Component.GetComponentsInChildren<T>()
    Component.GetComponentsInChildren<T>(List<T>)
    Component.GetComponentInParent(Type)
    Component.GetComponentInParent<T>()
    Component.GetComponentsInParent(Type, Boolean)
    Component.GetComponentsInParent(Type)
    Component.GetComponentsInParent<T>(Boolean)
    Component.GetComponentsInParent<T>(Boolean, List<T>)
    Component.GetComponentsInParent<T>()
    Component.GetComponents(Type)
    Component.GetComponents(Type, List<Component>)
    Component.GetComponents<T>(List<T>)
    Component.GetComponents<T>()
    Component.CompareTag(String)
    Component.SendMessageUpwards(String, Object, SendMessageOptions)
    Component.SendMessageUpwards(String, Object)
    Component.SendMessageUpwards(String)
    Component.SendMessageUpwards(String, SendMessageOptions)
    Component.SendMessage(String, Object)
    Component.SendMessage(String)
    Component.SendMessage(String, Object, SendMessageOptions)
    Component.SendMessage(String, SendMessageOptions)
    Component.BroadcastMessage(String, Object, SendMessageOptions)
    Component.BroadcastMessage(String, Object)
    Component.BroadcastMessage(String)
    Component.BroadcastMessage(String, SendMessageOptions)
    Component.transform
    Component.gameObject
    Component.tag
    Component.rigidbody
    Component.rigidbody2D
    Component.camera
    Component.light
    Component.animation
    Component.constantForce
    Component.renderer
    Component.audio
    Component.networkView
    Component.collider
    Component.collider2D
    Component.hingeJoint
    Component.particleSystem
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.MARS.Data.Synthetic
    Syntax
    [ExecuteInEditMode]
    [RequireComponent(typeof(SynthesizedPose))]
    [RequireComponent(typeof(SynthesizedAlignment))]
    [RequireComponent(typeof(SynthesizedBounds2D))]
    [HelpURL("https://docs.unity3d.com/Packages/com.unity.mars@1.5/manual/ReferenceGuideSyntheticData.html#synthesized-plane-synthesizedplane")]
    [MovedFrom("Unity.MARS.Data")]
    public class SynthesizedPlane : SynthesizedTrackable<MRPlane>, ISimulatable, ISynthesizedData, IProvidesTraits<bool>, IProvidesTraits, IUsesMARSTrackableData<MRPlane>, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>, IFunctionalitySubscriber

    Properties

    TraitName

    Declaration
    public override string TraitName { get; }
    Property Value
    Type Description
    String
    Overrides
    SynthesizedTrackable.TraitName

    Methods

    Awake()

    Called by Unity when the object is first activated

    Declaration
    protected override void Awake()
    Overrides
    SynthesizedTrackable.Awake()

    GetData()

    Get the MRPlane data for this synthesized plane

    Declaration
    public override MRPlane GetData()
    Returns
    Type Description
    MRPlane

    The MRPlane data

    Overrides
    Unity.MARS.Data.Synthetic.SynthesizedTrackable<Unity.MARS.Data.MRPlane>.GetData()

    GetProvidedTraits()

    Get the TraitDefinitions provided by this SynthesizedPlane

    Declaration
    public override TraitDefinition[] GetProvidedTraits()
    Returns
    Type Description
    TraitDefinition[]

    The provided traits

    Overrides
    Unity.MARS.Data.Synthetic.SynthesizedTrackable<Unity.MARS.Data.MRPlane>.GetProvidedTraits()

    Initialize()

    Called by MARS when the SynthesizedObject is initialized

    Declaration
    public override void Initialize()
    Overrides
    SynthesizedTrackable.Initialize()

    OnEnable()

    Called by Unity when the object is enabled

    Declaration
    protected override void OnEnable()
    Overrides
    SynthesizedTrackable.OnEnable()

    RefreshFromMRPlane()

    Refresh the data for this SynthesizedPlane using the associated MRPlane

    Declaration
    public void RefreshFromMRPlane()

    SetMRPlaneData(List<Vector3>, Vector3, Vector2)

    Set the data for the MRPlane backing this SynthesizedPlane

    Declaration
    public void SetMRPlaneData(List<Vector3> vertices, Vector3 center, Vector2 extents)
    Parameters
    Type Name Description
    List<Vector3> vertices

    The vertices for the boundary polygon

    Vector3 center

    The position of the center of the plane

    Vector2 extents

    The extents of the boundary polygon

    Terminate()

    Called when this plane is removed from the MARS database

    Declaration
    public override void Terminate()
    Overrides
    SynthesizedTrackable.Terminate()

    ValidateUsingMeshCache()

    Ensure that this object has the correct references to its Mesh and MeshFilter

    Declaration
    public void ValidateUsingMeshCache()

    Explicit Interface Implementations

    IFunctionalitySubscriber<IProvidesCameraOffset>.provider

    Declaration
    IProvidesCameraOffset IFunctionalitySubscriber<IProvidesCameraOffset>.provider { get; set; }
    Returns
    Type Description
    IProvidesCameraOffset
    Implements
    IFunctionalitySubscriber<TProvider>.provider

    Extension Methods

    IUsesMARSTrackableDataGenericMethods.AddOrUpdateData<T>(IUsesMARSTrackableData<T>, T)
    IUsesMARSTrackableDataGenericMethods.AddData<T>(IUsesMARSTrackableData<T>, Int32, T)
    IUsesMARSTrackableDataGenericMethods.RemoveData<T>(IUsesMARSTrackableData<T>, T)
    IUsesMARSTrackableDataGenericMethods.GetIdValue<T>(IUsesMARSTrackableData<T>, Int32)
    IUsesMARSTrackableDataGenericMethods.GetCollection<T>(IUsesMARSTrackableData<T>)
    IUsesMARSTrackableDataGenericMethods.RegisterProcessingJob<T>(IUsesMARSTrackableData<T>, ProcessingJobType)
    IUsesMARSTrackableDataGenericMethods.UnregisterProcessingJob<T>(IUsesMARSTrackableData<T>, ProcessingJobType)
    IProvidesTraitsMethods.AddOrUpdateTrait<T>(IProvidesTraits<T>, Int32, String, T)
    IProvidesTraitsMethods.RemoveTrait<T>(IProvidesTraits<T>, Int32, String)
    IUsesCameraOffsetMethods.GetCameraPositionOffset(IUsesCameraOffset)
    IUsesCameraOffsetMethods.SetCameraPositionOffset(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.GetCameraYawOffset(IUsesCameraOffset)
    IUsesCameraOffsetMethods.SetCameraYawOffset(IUsesCameraOffset, Single)
    IUsesCameraOffsetMethods.GetCameraScale(IUsesCameraOffset)
    IUsesCameraOffsetMethods.SetCameraScale(IUsesCameraOffset, Single)
    IUsesCameraOffsetMethods.GetCameraOffsetMatrix(IUsesCameraOffset)
    IUsesCameraOffsetMethods.ApplyOffsetToPose(IUsesCameraOffset, Pose)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToPose(IUsesCameraOffset, Pose)
    IUsesCameraOffsetMethods.ApplyOffsetToPosition(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToPosition(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyOffsetToDirection(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToDirection(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyOffsetToRotation(IUsesCameraOffset, Quaternion)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToRotation(IUsesCameraOffset, Quaternion)
    CameraOffsetExtensions.PoseToCameraSpace(IUsesCameraOffset, Pose, Vector3)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)