Represents a track surface face. More...
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 |
Represents a track surface face.
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!
Whether this tile is being occluded by an object above it (such as a tunnel).