Skip to main content
Version: 20 Mar 2024

MLHeadposeCanvasBehavior

NameSpace: MagicLeap

Script used to position this Canvas object directly in front of the user by using lerp functionality to give it a smooth look. Components on the canvas should function normally.

Inherits from:
MonoBehaviour

Public Attributes

CanvasDistanceForwards


public float CanvasDistanceForwards = 1.5f;


CanvasDistanceUpwards


public float CanvasDistanceUpwards = 0.0f;


PositionLerpSpeed


public float PositionLerpSpeed = 5f;


RotationLerpSpeed


public float RotationLerpSpeed = 5f;