Aracılığıyla paylaş


AdjusterFixed Class

Definition

Component to handle frozen world adjustments for fixed (stationary) objects.

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

Remarks

For dynamic objects, use AdjusterMoving.

This component is appropriate for inheriting from, to let it take care of lifetime management and book-keeping, then just override HandleAdjustLocation(Pose) and/or HandleAdjustState(AttachmentPointStateType) with actions more suitable for your application.

Constructors

AdjusterFixed()

Properties

AttachmentPoint

The attachment point which this component wraps.

Manager

The attachment point manager interface which this component subscribes to.

Methods

HandleAdjustLocation(Pose)

Handle a pose adjustment due to a refit operation.

HandleAdjustState(AttachmentPointStateType)

Handle a change in associated fragment state.

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)).

Applies to