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

    Class SetAlignedPoseAction

    Inheritance
    Object
    TransformAction
    SetAlignedPoseAction
    Inherited Members
    TransformAction.Awake()
    TransformAction.OnDisable()
    TransformAction.OnMatchLoss(QueryResult)
    Namespace: Unity.MARS
    Syntax
    [ComponentTooltip("Syncs the GameObject's position with the real world object and aligns the long side to the X-axis.")]
    [MonoBehaviourComponentMenu(typeof(SetAlignedPoseAction), "Action/Set Aligned Pose")]
    public class SetAlignedPoseAction : TransformAction, IMatchLossHandler, IMatchAcquireHandler, IMatchUpdateHandler, IAction, ISimulatable, IRequiresTraits

    Fields

    FollowMatchUpdates

    Declaration
    public bool FollowMatchUpdates
    Field Value
    Type Description
    Boolean

    Methods

    GetRequiredTraits()

    Declaration
    public TraitRequirement[] GetRequiredTraits()
    Returns
    Type Description
    TraitRequirement[]
    Implements
    IRequiresTraits.GetRequiredTraits()

    OnMatchAcquire(QueryResult)

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

    OnMatchUpdate(QueryResult)

    Declaration
    public void OnMatchUpdate(QueryResult queryResult)
    Parameters
    Type Name Description
    QueryResult queryResult
    Implements
    IMatchUpdateHandler.OnMatchUpdate(QueryResult)
    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