Class FaceLandmarksAction | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class FaceLandmarksAction

    Inheritance
    Object
    FaceLandmarksAction
    Namespace: Unity.MARS
    Syntax
    [MonoBehaviourComponentMenu(typeof(FaceLandmarksAction), "Action/Face Landmarks")]
    public class FaceLandmarksAction : MonoBehaviour, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>, IFunctionalitySubscriber, IUsesMARSTrackableData<IMRFace>, ICalculateLandmarks, ISpawnable, IMatchAcquireHandler, IMatchUpdateHandler, IMatchLossHandler, IAction, ISimulatable

    Properties

    AvailableLandmarkDefinitions

    Declaration
    public List<LandmarkDefinition> AvailableLandmarkDefinitions { get; }
    Property Value
    Type Description
    List<LandmarkDefinition>
    Implements
    ICalculateLandmarks.AvailableLandmarkDefinitions

    Methods

    GetLandmarkCalculation(LandmarkDefinition)

    Declaration
    public Action<ILandmarkController> GetLandmarkCalculation(LandmarkDefinition definition)
    Parameters
    Type Name Description
    LandmarkDefinition definition
    Returns
    Type Description
    Action<ILandmarkController>
    Implements
    ICalculateLandmarks.GetLandmarkCalculation(LandmarkDefinition)

    OnMatchAcquire(QueryResult)

    Declaration
    public void OnMatchAcquire(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult
    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)

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

    OnMatchUpdate(QueryResult)

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

    SetupLandmark(ILandmarkController)

    Declaration
    public void SetupLandmark(ILandmarkController landmark)
    Parameters
    Type Name Description
    ILandmarkController landmark
    Implements
    ICalculateLandmarks.SetupLandmark(ILandmarkController)

    Events

    dataChanged

    Declaration
    public event Action<ICalculateLandmarks> dataChanged
    Event Type
    Type Description
    Action<ICalculateLandmarks>
    Implements
    ICalculateLandmarks.dataChanged

    Explicit Interface Implementations

    IFunctionalitySubscriber<IProvidesCameraOffset>.provider

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

    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)
    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)
    Back to top
    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