Show / Hide Table of Contents

Interface IAnchorHandler

An interface that should be placed on components that handle anchoring events.

Namespace: Liminal.SDK.VR.Avatars.Interaction
Assembly: Liminal.SDK.dll
Syntax
public interface IAnchorHandler

Properties

| Improve this Doc View Source

enabled

Gets or sets the enabled state of the handler.

Declaration
bool enabled { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

ModifyPosition(ref Vector3, ref Vector3)

Applies modifications to the position of the anchored object.

Declaration
void ModifyPosition(ref Vector3 current, ref Vector3 target)
Parameters
Type Name Description
UnityEngine.Vector3 current

The current position.

UnityEngine.Vector3 target

The target position.

| Improve this Doc View Source

ModifyRotation(ref Quaternion, ref Quaternion)

Applies modifications to the rotation of the anchored object.

Declaration
void ModifyRotation(ref Quaternion current, ref Quaternion target)
Parameters
Type Name Description
UnityEngine.Quaternion current

The current rotation.

UnityEngine.Quaternion target

The target rotation.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX