VRAvatarInitialization Class

Summary

This script is used to set references between the VR camera rigs and the ASL networked VR avatar. Uses VRTK follow scripts to synchronize the location of the VR user and their networked representation.
Namespace
ASL.VirtualReality
Base Types
  • MonoBehaviour
graph TD Base0["MonoBehaviour"]-->Type Type["VRAvatarInitialization"] class Type type-node

Syntax

public class VRAvatarInitialization : MonoBehaviour

Methods

Name Value Summary
Initialize(VRAvatarInitialization.VRDevice, GameObject, GameObject, GameObject, GameObject, GameObject) bool
A Function that links the visible networked avatar for a VR user with its corresponding components in appropriate camera rig. Should only be run for the owner of the avatar.