Tilt Five™ Unity API  1.4.1
TiltFive.T5_GameboardSize Struct Reference

Physical dimensions of a gameboard, in meters. More...

Public Member Functions

 T5_GameboardSize (float viewableExtentPositiveX, float viewableExtentNegativeX, float viewableExtentPositiveZ, float viewableExtentNegativeZ, float viewableExtentPositiveY)
 
 T5_GameboardSize (float playableSpaceX, float playableSpaceZ, float borderWidth)
 

Public Attributes

float ViewableExtentPositiveX
 The distance in meters from the gameboard origin to the edge of the viewable area in the positive X direction. More...
 
float ViewableExtentNegativeX
 The distance in meters from the gameboard origin to the edge of the viewable area in the negative X direction. More...
 
float ViewableExtentPositiveZ
 The distance in meters from the gameboard origin to the edge of the viewable area in the positive Z direction. More...
 
float ViewableExtentNegativeZ
 The distance in meters from the gameboard origin to the edge of the viewable area in the negative Z direction. More...
 
float ViewableExtentPositiveY
 The distance in meters above the gameboard origin that the viewable area extends in the positive Y direction. More...
 

Detailed Description

Physical dimensions of a gameboard, in meters.

Definition at line 580 of file NativePlugin.cs.

Constructor & Destructor Documentation

◆ T5_GameboardSize() [1/2]

TiltFive.T5_GameboardSize.T5_GameboardSize ( float  viewableExtentPositiveX,
float  viewableExtentNegativeX,
float  viewableExtentPositiveZ,
float  viewableExtentNegativeZ,
float  viewableExtentPositiveY 
)

Definition at line 607 of file NativePlugin.cs.

610  {
611  ViewableExtentPositiveX = viewableExtentPositiveX;
612  ViewableExtentNegativeX = viewableExtentNegativeX;
613  ViewableExtentPositiveZ = viewableExtentPositiveZ;
614  ViewableExtentNegativeZ = viewableExtentNegativeZ;
615  ViewableExtentPositiveY = viewableExtentPositiveY;
616  }
float ViewableExtentNegativeX
The distance in meters from the gameboard origin to the edge of the viewable area in the negative X d...
float ViewableExtentPositiveY
The distance in meters above the gameboard origin that the viewable area extends in the positive Y di...
float ViewableExtentPositiveX
The distance in meters from the gameboard origin to the edge of the viewable area in the positive X d...
float ViewableExtentPositiveZ
The distance in meters from the gameboard origin to the edge of the viewable area in the positive Z d...
float ViewableExtentNegativeZ
The distance in meters from the gameboard origin to the edge of the viewable area in the negative Z d...

References TiltFive.T5_GameboardSize.ViewableExtentNegativeX, TiltFive.T5_GameboardSize.ViewableExtentNegativeZ, TiltFive.T5_GameboardSize.ViewableExtentPositiveX, TiltFive.T5_GameboardSize.ViewableExtentPositiveY, and TiltFive.T5_GameboardSize.ViewableExtentPositiveZ.

◆ T5_GameboardSize() [2/2]

TiltFive.T5_GameboardSize.T5_GameboardSize ( float  playableSpaceX,
float  playableSpaceZ,
float  borderWidth 
)

Member Data Documentation

◆ ViewableExtentNegativeX

float TiltFive.T5_GameboardSize.ViewableExtentNegativeX

The distance in meters from the gameboard origin to the edge of the viewable area in the negative X direction.

Definition at line 590 of file NativePlugin.cs.

Referenced by TiltFive.GameBoard.GameboardExtents.GameboardExtents(), and TiltFive.T5_GameboardSize.T5_GameboardSize().

◆ ViewableExtentNegativeZ

float TiltFive.T5_GameboardSize.ViewableExtentNegativeZ

The distance in meters from the gameboard origin to the edge of the viewable area in the negative Z direction.

Definition at line 600 of file NativePlugin.cs.

Referenced by TiltFive.GameBoard.GameboardExtents.GameboardExtents(), and TiltFive.T5_GameboardSize.T5_GameboardSize().

◆ ViewableExtentPositiveX

float TiltFive.T5_GameboardSize.ViewableExtentPositiveX

The distance in meters from the gameboard origin to the edge of the viewable area in the positive X direction.

Definition at line 585 of file NativePlugin.cs.

Referenced by TiltFive.GameBoard.GameboardExtents.GameboardExtents(), and TiltFive.T5_GameboardSize.T5_GameboardSize().

◆ ViewableExtentPositiveY

float TiltFive.T5_GameboardSize.ViewableExtentPositiveY

The distance in meters above the gameboard origin that the viewable area extends in the positive Y direction.

Definition at line 605 of file NativePlugin.cs.

Referenced by TiltFive.GameBoard.GameboardExtents.GameboardExtents(), and TiltFive.T5_GameboardSize.T5_GameboardSize().

◆ ViewableExtentPositiveZ

float TiltFive.T5_GameboardSize.ViewableExtentPositiveZ

The distance in meters from the gameboard origin to the edge of the viewable area in the positive Z direction.

Definition at line 595 of file NativePlugin.cs.

Referenced by TiltFive.GameBoard.GameboardExtents.GameboardExtents(), and TiltFive.T5_GameboardSize.T5_GameboardSize().


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