BallisticNG
 All Classes Namespaces Functions Variables Enumerations Properties
Public Member Functions | Public Attributes
BnG.TrackData.Tile Class Reference

Represents a track surface face. More...

List of all members.

Public Member Functions

Vector3 GetNormal (Transform floorTransform, Vector3[] trackNormals)
 Calculates this tiles normal. This is a heavy operation as it relies on reading the track floor mesh. Don't call this frequently!

Public Attributes

int index
Color color
bool flipped
E_TILETYPE type
Vector3 position
int[] indices
int[] mapOrder = new int[] { 0, 1, 2, 3, 4, 5 }
Section section
bool isWet
bool swooshable
bool isMagLock
bool forcedShadow
bool IsInside
 Whether this tile is being occluded by an object above it (such as a tunnel).
E_UVORDER uvOrder = E_UVORDER.NORMAL
E_UVFLIP uvFlip = E_UVFLIP.NONE
int atlasIndex

Detailed Description

Represents a track surface face.


Member Function Documentation

Vector3 BnG.TrackData.Tile.GetNormal ( Transform  floorTransform,
Vector3[]  trackNormals 
) [inline]

Calculates this tiles normal. This is a heavy operation as it relies on reading the track floor mesh. Don't call this frequently!


Member Data Documentation

Whether this tile is being occluded by an object above it (such as a tunnel).


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