Public Member Functions | |
Color[] | GetAnimFloorColors () |
void | SetAnimFloorColors (Color[] colors) |
void | LoadWeaponGradient () |
void | ConfigureTrackForSurvival () |
void | GenerateTrackData () |
void | SetTrackTris (int[] tris) |
void | UpdateTrackTextureAtlas (bool updateTexture=true, int floorStartIndex=0, int floorEndIndex=-2, int wallStartIndex=0, int wallEndIndex=-2) |
void | ExtendSpawnTiles () |
Creates a second spawn tile next to all the current spawn tiles and then updates the track atlas. | |
void | FindSpawnTiles () |
void | ResolveJunctionIndicies () |
void | SetSectionPreviousReferences () |
void | UpdateSectionRotations () |
void | OptimizeMeshes () |
void | CalculateRacingLines () |
void | UpdateFloorColors () |
void | RefreshTileColors (List< Tile > tiles) |
void | TrackAnimations () |
void | DiscoverTrackDimensions () |
Public Attributes | |
List< PitlaneIndicator > | PitlaneIndicators = new List<PitlaneIndicator>() |
GeneratedData | data |
MeshFilter | trackFloor |
MeshFilter | trackWall |
MeshCollider | SmoothFloorCollider |
Vector3[] | SmoothFloorNormals |
int[] | SmoothFloorTris |
LMSettings | lightmapSettings |
Vector3[] | originalFloorVerts |
List< Junction > | Junctions = new List<Junction>() |
float | quakeScaler = 100.0f |
int[] | quakeFirstRowOrder = new int[] { 0, 1, 3, 7, 6, 9 } |
int[] | quakeSecondRowOrder = new int[] { 2, 4, 5, 8, 10, 11 } |
Texture2D[] | textures = new Texture2D[0] |
TrackTexture[] | trackTextures = new TrackTexture[0] |
string[] | textureNames = new string[0] |
int | weaponPadReplacementIndex |
int | spawnTileReplacementIndex |
int | spawnTileIndex |
int | speedTileIndex |
int | weaponTileIndex |
int | rechargeTileIndex |
Rect[] | atlasRects = new Rect[0] |
Texture2D | trackTexture |
Texture2D | trackIllumTexture |
Texture2D | trackReflectionTexture |
int[] | vertOrder = new int[6] { 0, 1, 2, 3, 4, 5 } |
int[] | vertTurnedOrder = new int[6] { 2, 1, 0, 4, 3, 5 } |
int[] | generationOrder = new int[4] { 0, 1, 2, 5 } |
bool | drawTrackData |
int[] | drawTileOrder = new int[4] { 0, 1, 2, 3 } |
float | maxWallWidth = 10.0f |
float | maxWallHeight = 1.5f |
bool | facesAlreadySplit |
bool | UseNewUvSystem = false |
bool | SurvivalIgnoresTrack = false |
Transform | TrackFloorTransform |
MeshCollider[] | EnvironmentColliders = new MeshCollider[0] |
int | EnvironmentCollidersLength |
Gradient | WeaponGradient |
WeaponPad[] | weapons |
List< Vector3 > | spawnPositions = new List<Vector3>() |
List< Vector3 > | spawnCameraLocations = new List<Vector3>() |
List< Quaternion > | spawnRotations = new List<Quaternion>() |
List< Tile > | SpawnTiles = new List<Tile>() |
List< Tile > | UsedSpawnTiles = new List<Tile>() |
Vector3 | cameraStart |
Vector3 | cameraEnd |
ZonePalleteSettings | VirtualColorPallete |
Static Public Attributes | |
static TrackData | Instance |
A reference to the track data object. |
void BnG.TrackData.TrackData.ExtendSpawnTiles | ( | ) | [inline] |
Creates a second spawn tile next to all the current spawn tiles and then updates the track atlas.
A reference to the track data object.