Unity SDK Docs 1.5.0-beta.6
Loading...
Searching...
No Matches
TiltFive.TiltFiveManager2 Class Reference

The Tilt Five manager. More...

Inheritance diagram for TiltFive.TiltFiveManager2:
TiltFive.SingletonComponent< T > TiltFive.ISceneInfo

Public Member Functions

bool NeedsDriverUpdate ()
 Check if a driver update is needed.
bool TryGetPlayerSettings (PlayerIndex playerIndex, out PlayerSettings playerSettings)
 Gets the player settings for the specified player.
float GetScaleToUWRLD_UGBD ()
float GetScaleToWorldSpaceFromGameboardSpace ()
Pose GetGameboardPose ()
Camera GetEyeCamera ()
uint GetSupportedPlayerCount ()
bool IsActiveAndEnabled ()

Public Attributes

PlayerSettings[] allPlayerSettings = new PlayerSettings[PlayerSettings.MAX_SUPPORTED_PLAYERS]
uint supportedPlayerCount = 3
SpectatorSettings spectatorSettings = new SpectatorSettings()
 The spectator camera's runtime configuration data.
GraphicsSettings graphicsSettings = new GraphicsSettings()
 Project-wide graphics settings related to Tilt Five.
LogSettings logSettings = new LogSettings()
 The log settings.

Protected Member Functions

override void Awake ()
 Awake this instance.

Properties

PlayerSettings playerOneSettings [get]
 The first player's runtime configuration data.
PlayerSettings playerTwoSettings [get]
 The second player's runtime configuration data.
PlayerSettings playerThreeSettings [get]
 The third player's runtime configuration data.
PlayerSettings playerFourSettings [get]
 The fourth player's runtime configuration data.
Properties inherited from TiltFive.SingletonComponent< T >
static T Instance [get]

Detailed Description

The Tilt Five manager.

Definition at line 47 of file TiltFiveManager2.cs.

Member Function Documentation

◆ Awake()

override void TiltFive.TiltFiveManager2.Awake ( )
inlineprotectedvirtual

Awake this instance.

Reimplemented from TiltFive.SingletonComponent< T >.

Definition at line 155 of file TiltFiveManager2.cs.

◆ GetEyeCamera()

Camera TiltFive.TiltFiveManager2.GetEyeCamera ( )
inline

Implements TiltFive.ISceneInfo.

Definition at line 690 of file TiltFiveManager2.cs.

◆ GetGameboardPose()

Pose TiltFive.TiltFiveManager2.GetGameboardPose ( )
inline

Implements TiltFive.ISceneInfo.

Definition at line 685 of file TiltFiveManager2.cs.

◆ GetScaleToUWRLD_UGBD()

float TiltFive.TiltFiveManager2.GetScaleToUWRLD_UGBD ( )
inline

Implements TiltFive.ISceneInfo.

Definition at line 678 of file TiltFiveManager2.cs.

◆ GetScaleToWorldSpaceFromGameboardSpace()

float TiltFive.TiltFiveManager2.GetScaleToWorldSpaceFromGameboardSpace ( )
inline

Implements TiltFive.ISceneInfo.

Definition at line 680 of file TiltFiveManager2.cs.

◆ GetSupportedPlayerCount()

uint TiltFive.TiltFiveManager2.GetSupportedPlayerCount ( )
inline

Implements TiltFive.ISceneInfo.

Definition at line 695 of file TiltFiveManager2.cs.

◆ IsActiveAndEnabled()

bool TiltFive.TiltFiveManager2.IsActiveAndEnabled ( )
inline

Implements TiltFive.ISceneInfo.

Definition at line 700 of file TiltFiveManager2.cs.

◆ NeedsDriverUpdate()

bool TiltFive.TiltFiveManager2.NeedsDriverUpdate ( )
inline

Check if a driver update is needed.

Note that this can also return false if this has not yet been able to connect to the Tilt Five driver service (compatibility state unknown), so this may need to be called multiple times in that case. This only returns true if we can confirm that the driver is incompatible.

If it is necessary to distinguish between unknown and compatible, use GetServiceCompatibility directly.

Definition at line 310 of file TiltFiveManager2.cs.

◆ TryGetPlayerSettings()

bool TiltFive.TiltFiveManager2.TryGetPlayerSettings ( PlayerIndex playerIndex,
out PlayerSettings playerSettings )
inline

Gets the player settings for the specified player.

Parameters
playerIndex
playerSettings
Returns
Returns false and sets playerSettings to null if an invalid player index is provided.

Definition at line 359 of file TiltFiveManager2.cs.

Member Data Documentation

◆ allPlayerSettings

PlayerSettings [] TiltFive.TiltFiveManager2.allPlayerSettings = new PlayerSettings[PlayerSettings.MAX_SUPPORTED_PLAYERS]

Definition at line 109 of file TiltFiveManager2.cs.

◆ graphicsSettings

GraphicsSettings TiltFive.TiltFiveManager2.graphicsSettings = new GraphicsSettings()

Project-wide graphics settings related to Tilt Five.

Definition at line 121 of file TiltFiveManager2.cs.

◆ logSettings

LogSettings TiltFive.TiltFiveManager2.logSettings = new LogSettings()

The log settings.

Definition at line 126 of file TiltFiveManager2.cs.

◆ spectatorSettings

SpectatorSettings TiltFive.TiltFiveManager2.spectatorSettings = new SpectatorSettings()

The spectator camera's runtime configuration data.

Definition at line 116 of file TiltFiveManager2.cs.

◆ supportedPlayerCount

uint TiltFive.TiltFiveManager2.supportedPlayerCount = 3

Definition at line 111 of file TiltFiveManager2.cs.

Property Documentation

◆ playerFourSettings

PlayerSettings TiltFive.TiltFiveManager2.playerFourSettings
get

The fourth player's runtime configuration data.

Definition at line 97 of file TiltFiveManager2.cs.

◆ playerOneSettings

PlayerSettings TiltFive.TiltFiveManager2.playerOneSettings
get

The first player's runtime configuration data.

Definition at line 52 of file TiltFiveManager2.cs.

◆ playerThreeSettings

PlayerSettings TiltFive.TiltFiveManager2.playerThreeSettings
get

The third player's runtime configuration data.

Definition at line 82 of file TiltFiveManager2.cs.

◆ playerTwoSettings

PlayerSettings TiltFive.TiltFiveManager2.playerTwoSettings
get

The second player's runtime configuration data.

Definition at line 67 of file TiltFiveManager2.cs.


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