Share via


AdjusterFixed.HandleAdjustState(AttachmentPointStateType) Method

Definition

Handle a change in associated fragment state.

protected virtual void HandleAdjustState (Microsoft.MixedReality.WorldLocking.Core.AttachmentPointStateType state);
abstract member HandleAdjustState : Microsoft.MixedReality.WorldLocking.Core.AttachmentPointStateType -> unit
override this.HandleAdjustState : Microsoft.MixedReality.WorldLocking.Core.AttachmentPointStateType -> unit
Protected Overridable Sub HandleAdjustState (state As AttachmentPointStateType)

Parameters

state
AttachmentPointStateType

The new state.

Remarks

The only state under which the visual location can be regarded as reliable is the Normal state. This simple implementation disables the object tree when its location is unreliable, and enables it when its location is reliable. Actual appropriate behavior is highly application dependent. Some questions to ask: * Is there a more appropriate way to hide the object (e.g. move it far away)? * Should the update pause, or just stop rendering? (Disabling pauses update **and** render). * Is it better to hide the object, or to display it in alternate form? * Etc.

Applies to