docs.unity3d.com
    Show / Hide Table of Contents

    Class PlaneLandmarksAction

    Inheritance
    Object
    LandmarkOutputPolygon
    PlaneLandmarksAction
    Inherited Members
    LandmarkOutputPolygon.dataChanged
    LandmarkOutputPolygon.pose
    LandmarkOutputPolygon.worldVertices
    LandmarkOutputPolygon.localVertices
    LandmarkOutputPolygon.FireDataChangeEvent()
    LandmarkOutputPolygon.SetPolygonLocalSpace(List<Vector3>, Pose)
    LandmarkOutputPolygon.SetPolygonWorldSpace(List<Vector3>, Pose)
    LandmarkOutputPolygon.SetupLandmark(ILandmarkController)
    LandmarkOutputPolygon.UpdateOutput()
    Namespace: Unity.MARS.Landmarks
    Syntax
    public class PlaneLandmarksAction : LandmarkOutputPolygon, ICalculateLandmarks, ILandmarkOutput, IUsesMARSTrackableData<MRPlane>, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>, ISpawnable, IMatchAcquireHandler, IMatchUpdateHandler, IMatchLossHandler, IAction, ISimulatable

    Properties

    AvailableLandmarkDefinitions

    Declaration
    public override List<LandmarkDefinition> AvailableLandmarkDefinitions { get; }
    Property Value
    Type Description
    List<LandmarkDefinition>
    Overrides
    LandmarkOutputPolygon.AvailableLandmarkDefinitions

    Methods

    GetLandmarkCalculation(LandmarkDefinition)

    Get an action that calculates a landmark with the given definition. If the landmark does not have the proper settings or output set up, it should return null

    Declaration
    public override Action<ILandmarkController> GetLandmarkCalculation(LandmarkDefinition definition)
    Parameters
    Type Name Description
    LandmarkDefinition definition

    The landmark definition to get the calculation for

    Returns
    Type Description
    Action<ILandmarkController>
    Overrides
    LandmarkOutputPolygon.GetLandmarkCalculation(LandmarkDefinition)

    OnMatchAcquire(QueryResult)

    Called when a query match has been found

    Declaration
    public void OnMatchAcquire(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult

    Data associated with this event

    Implements
    IMatchAcquireHandler.OnMatchAcquire(QueryResult)

    OnMatchDataChanged(QueryResult)

    Declaration
    protected void OnMatchDataChanged(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult

    OnMatchDataLost(QueryResult)

    Declaration
    protected void OnMatchDataLost(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult

    OnMatchLoss(QueryResult)

    Called when a query match has been lost

    Declaration
    public void OnMatchLoss(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult

    Data associated with this event

    Implements
    IMatchLossHandler.OnMatchLoss(QueryResult)

    OnMatchUpdate(QueryResult)

    Called when a query match's data has updated

    Declaration
    public void OnMatchUpdate(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult

    Data associated with this event

    Implements
    IMatchUpdateHandler.OnMatchUpdate(QueryResult)

    Extension Methods

    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)
    CreateLandmarkMethods.CreateLandmarkAsChild(ICalculateLandmarks, LandmarkDefinition, Type)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023