AdjusterMoving Class

Definition

Component to handle frozen world adjustments for dynamic (moving) objects.

public class AdjusterMoving : Microsoft.MixedReality.WorldLocking.Tools.AdjusterFixed
type AdjusterMoving = class
    inherit AdjusterFixed
Public Class AdjusterMoving
Inherits AdjusterFixed
Inheritance
UnityEngine.MonoBehaviour
AdjusterMoving

Remarks

For stationary objects, use AdjusterFixed.

This component uses the Unity Update pass to keep the World Locking Tools system apprised of the target object's position. While that operation is cheap, even just the cost of an additional Update() is best avoided for stationary objects.

If the object moves very infrequently under script control, consider using an AdjusterFixed, and notifying it after moves with UpdatePosition().

Constructors

AdjusterMoving()

Properties

AttachmentPoint

The attachment point which this component wraps.

(Inherited from AdjusterFixed)
Manager

The attachment point manager interface which this component subscribes to.

(Inherited from AdjusterFixed)

Methods

HandleAdjustLocation(Pose)

Handle a pose adjustment due to a refit operation.

(Inherited from AdjusterFixed)
HandleAdjustState(AttachmentPointStateType)

Handle a change in associated fragment state.

(Inherited from AdjusterFixed)
UpdatePosition()

For infrequent moves under script control, UpdatePosition notifies the system that the object has relocated. It should be called after any scripted movement of the object (but not after movement triggered by WLT, such as in HandleAdjustLocation(Pose)).

(Inherited from AdjusterFixed)

Applies to