PlayerController Class Reference
Inheritance diagram for PlayerController:
SocialPlatformManager

Public Member Functions

override void Awake ()
 
override void Start ()
 
override void Update ()
 
- Public Member Functions inherited from SocialPlatformManager
void OnLocalAvatarPacketRecorded (object sender, OvrAvatar.PacketEventArgs args)
 
void OnApplicationQuit ()
 
void AddUser (ulong userID, ref RemotePlayer remoteUser)
 
void LogOutputLine (string line)
 
void UpdateVoiceData (short[] pcmData, int numChannels)
 

Public Attributes

Camera spyCamera
 
- Public Attributes inherited from SocialPlatformManager
OvrAvatar localAvatarPrefab
 
OvrAvatar remoteAvatarPrefab
 
GameObject helpPanel
 
Material riftMaterial
 
Material gearMaterial
 
GameObject roomSphere
 
GameObject roomFloor
 

Additional Inherited Members

- Public Types inherited from SocialPlatformManager
enum  State {
  State.INITIALIZING, State.CHECKING_LAUNCH_STATE, State.CREATING_A_ROOM, State.WAITING_IN_A_ROOM,
  State.JOINING_A_ROOM, State.CONNECTED_IN_A_ROOM, State.LEAVING_A_ROOM, State.SHUTDOWN
}
 
- Static Public Member Functions inherited from SocialPlatformManager
static void TerminateWithError (Message msg)
 
static void TransitionToState (State newState)
 
static void SetFloorColorForState (bool host)
 
static void MarkAllRemoteUsersAsNotInRoom ()
 
static void MarkRemoteUserInRoom (ulong userID)
 
static void ForgetRemoteUsersNotInRoom ()
 
static void LogOutput (string line)
 
static bool IsUserInRoom (ulong userID)
 
static void AddRemoteUser (ulong userID)
 
static void RemoveRemoteUser (ulong userID)
 
static void MicFilter (short[] pcmData, System.UIntPtr pcmDataLength, int frequency, int numChannels)
 
static RemotePlayer GetRemoteUser (ulong userID)
 
- Static Public Attributes inherited from SocialPlatformManager
static readonly float VOIP_SCALE = 2f
 
- Protected Attributes inherited from SocialPlatformManager
MeshRenderer helpMesh
 
OvrAvatar localAvatar
 
GameObject localTrackingSpace
 
GameObject localPlayerHead
 
Dictionary< ulong, RemotePlayerremoteUsers = new Dictionary<ulong, RemotePlayer>()
 
MeshRenderer sphereMesh
 
MeshRenderer floorMesh
 
State currentState
 
RoomManager roomManager
 
P2PManager p2pManager
 
VoipManager voipManager
 
ulong myID
 
string myOculusID
 
- Static Protected Attributes inherited from SocialPlatformManager
static SocialPlatformManager s_instance = null
 
- Properties inherited from SocialPlatformManager
static State CurrentState [get]
 
static ulong MyID [get]
 
static string MyOculusID [get]
 

Member Function Documentation

◆ Awake()

override void PlayerController.Awake ( )
virtual

Reimplemented from SocialPlatformManager.

◆ Start()

override void PlayerController.Start ( )
virtual

Reimplemented from SocialPlatformManager.

◆ Update()

override void PlayerController.Update ( )
virtual

Reimplemented from SocialPlatformManager.

Member Data Documentation

◆ spyCamera

Camera PlayerController.spyCamera

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