Class SetAlignedPoseAction
Inherited Members
Namespace: Unity.MARS
Syntax
[RequireComponent(typeof(Proxy))]
[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
[SerializeField]
[Tooltip("When enabled, movement of the matched data, such as surface-resizing, will be followed")]
public bool FollowMatchUpdates
Field Value
Type | Description |
---|---|
Boolean |
Methods
GetRequiredTraits()
Declaration
public TraitRequirement[] GetRequiredTraits()
Returns
Type | Description |
---|---|
TraitRequirement[] |
Implements
OnMatchAcquire(QueryResult)
Declaration
public void OnMatchAcquire(QueryResult queryResult)
Parameters
Type | Name | Description |
---|---|---|
QueryResult | queryResult |
Implements
OnMatchUpdate(QueryResult)
Declaration
public void OnMatchUpdate(QueryResult queryResult)
Parameters
Type | Name | Description |
---|---|---|
QueryResult | queryResult |