Tilt Five Unity SDK 1.4.2
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.

Member Function Documentation

◆ Awake()

override void TiltFive.TiltFiveManager2.Awake ( )
inlineprotectedvirtual

Awake this instance.

Reimplemented from TiltFive.SingletonComponent< T >.

◆ GetEyeCamera()

Camera TiltFive.TiltFiveManager2.GetEyeCamera ( )
inline

Implements TiltFive.ISceneInfo.

◆ GetGameboardPose()

Pose TiltFive.TiltFiveManager2.GetGameboardPose ( )
inline

Implements TiltFive.ISceneInfo.

◆ GetScaleToUWRLD_UGBD()

float TiltFive.TiltFiveManager2.GetScaleToUWRLD_UGBD ( )
inline

Implements TiltFive.ISceneInfo.

◆ GetScaleToWorldSpaceFromGameboardSpace()

float TiltFive.TiltFiveManager2.GetScaleToWorldSpaceFromGameboardSpace ( )
inline

Implements TiltFive.ISceneInfo.

◆ GetSupportedPlayerCount()

uint TiltFive.TiltFiveManager2.GetSupportedPlayerCount ( )
inline

Implements TiltFive.ISceneInfo.

◆ IsActiveAndEnabled()

bool TiltFive.TiltFiveManager2.IsActiveAndEnabled ( )
inline

Implements TiltFive.ISceneInfo.

◆ 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.

◆ 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.

Member Data Documentation

◆ allPlayerSettings

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

◆ graphicsSettings

GraphicsSettings TiltFive.TiltFiveManager2.graphicsSettings = new GraphicsSettings()

Project-wide graphics settings related to Tilt Five.

◆ logSettings

LogSettings TiltFive.TiltFiveManager2.logSettings = new LogSettings()

The log settings.

◆ spectatorSettings

SpectatorSettings TiltFive.TiltFiveManager2.spectatorSettings = new SpectatorSettings()

The spectator camera's runtime configuration data.

◆ supportedPlayerCount

uint TiltFive.TiltFiveManager2.supportedPlayerCount = 3

Property Documentation

◆ playerFourSettings

PlayerSettings TiltFive.TiltFiveManager2.playerFourSettings
get

The fourth player's runtime configuration data.

◆ playerOneSettings

PlayerSettings TiltFive.TiltFiveManager2.playerOneSettings
get

The first player's runtime configuration data.

◆ playerThreeSettings

PlayerSettings TiltFive.TiltFiveManager2.playerThreeSettings
get

The third player's runtime configuration data.

◆ playerTwoSettings

PlayerSettings TiltFive.TiltFiveManager2.playerTwoSettings
get

The second player's runtime configuration data.


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