Tilt Five™ Unity API  1.4.1
PlayerSettings.cs
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020-2023 Tilt Five, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 using System.Collections;
17 using System.Collections.Generic;
18 using UnityEngine;
19 using TiltFive;
20 
21 namespace TiltFive
22 {
23  [System.Serializable]
24  public class PlayerSettings
25  {
26  #region Sub-settings
27 
29 
31 
33 
36 
37  #endregion
38 
39 
40  #region Public Properties
41 
43 
44  public static uint MAX_SUPPORTED_PLAYERS => GlassesSettings.MAX_SUPPORTED_GLASSES_COUNT;
45 
46  #endregion
47 
48 
49  #region Public Functions
50 
51  public void Validate()
52  {
55  }
56 
57  #endregion
58  }
59 }
GlassesSettings encapsulates all configuration data used by the Glasses' tracking runtime to compute ...
ScaleSettings scaleSettings
GameBoardSettings gameboardSettings
static uint MAX_SUPPORTED_PLAYERS
WandSettings leftWandSettings
GlassesSettings glassesSettings
WandSettings rightWandSettings
ScaleSettings contains the scale data used to translate between Unity units and the user's physical s...
Wand Settings encapsulates all configuration data used by the Wand's tracking runtime to compute the ...
Definition: Wand.cs:38
ControllerIndex controllerIndex
Definition: Wand.cs:39
Definition: Log.cs:21
ControllerIndex
Since wands are all physically identical (they have no "handedness"), it doesn't make sense to addres...
PlayerIndex
The Player index (e.g. Player One, Player Two, etc)