AvatarReady
Loading...
Searching...
No Matches
Inria.Avatar.AvatarReady.GuideUi Class Reference

Manage a UI to show calibration instructions. More...

Inheritance diagram for Inria.Avatar.AvatarReady.GuideUi:

Static Public Member Functions

static void ShowUi ()
 Load and instantiate the UI prefab from Resources.
 
static void HideUi ()
 
static void Show (string message, string icon=null)
 
static void Clear ()
 
static IEnumerator Countdown (int seconds)
 

Public Attributes

Text MessageText
 
Image MessageImage
 
Text CountdownText
 
bool FollowUser = false
 

Private Member Functions

void Awake ()
 
void Start ()
 
void Update ()
 
void SetMessageImage (string icon=null)
 

Private Attributes

Transform targetCamera
 
float PositionSpeed = 4
 
float RotationSpeed = 0.15f
 
float TagAlongMaximumThreshold = 0.5f
 
float TagAlongStopThreshold = 0.2f
 
Vector3 localPositionOffset = new Vector3(0, 0, 2)
 
Quaternion localRotationOffset = Quaternion.identity
 
Vector3 desiredPosition
 
Quaternion desiredRotation
 
Vector3 velocity = new Vector3()
 
bool activateTagAlong = false
 

Static Private Attributes

const string AvatarRuntimeImportUiPrefabName = "GuideUi"
 
static GuideUi instance = null
 

Detailed Description

Manage a UI to show calibration instructions.


The documentation for this class was generated from the following file: