Class SetPoseAction
Inheritance
SetPoseAction
Syntax
[RequireComponent(typeof(Proxy))]
[ComponentTooltip("Sets the position of this GameObject to the position of the found real-world object.")]
[MonoBehaviourComponentMenu(typeof(SetPoseAction), "Action/Set Pose")]
public class SetPoseAction : TransformAction, IMatchLossHandler, IMatchAcquireHandler, IMatchUpdateHandler, IAction, ISimulatable, IRequiresTraits
Fields
AlignWithWorldUp
Declaration
[SerializeField]
[Tooltip("The axis that will be aligned to the world up direction. If set to None (default), the data's pose rotation will be used directly.If set to Y, the local Y axis will always be aligned with the world Up direction.If set to Z, the local Z axis will always be aligned with the world Up direction.")]
public SetPoseAction.AlignMode AlignWithWorldUp
Field Value
FollowMatchUpdates
Declaration
[SerializeField]
[Tooltip("When enabled, movement of the matched data, such as surface-resizing, will be followed")]
public bool FollowMatchUpdates
Field Value
Methods
GetRequiredTraits()
Declaration
public TraitRequirement[] GetRequiredTraits()
Returns
Implements
OnMatchAcquire(QueryResult)
Declaration
public void OnMatchAcquire(QueryResult queryResult)
Parameters
Implements
OnMatchUpdate(QueryResult)
Declaration
public void OnMatchUpdate(QueryResult queryResult)
Parameters
Implements