Property | Type | Description | |
---|---|---|---|
additionalBumperHeight | float | ||
assignedPoints | int | ||
baseTransform | Transform | ||
bumperAngleThresold | float | ||
bumperHeight | float | ||
bumperMode | BumperModes | ||
bumperWidth | float | ||
conformAccuracy | float | ||
diagramFilepath | string | ||
diagramGO | GameObject | ||
diagramMaterial | Material | ||
diagramMesh | Mesh | ||
drawMode | bool | ||
editMeshResolution | float | ||
includeCollider | bool | ||
includeColliderRoof | bool | ||
jumpHeight | float | ||
lastPolycount | int | ||
loopPoints | int | ||
loopRadius | float | ||
maxJumpLength | float | ||
mergeCurve | AnimationCurve | ||
mergeTerrain | Terrain | ||
scale | float | ||
scalePointA | Vector3 | ||
scalePointB | Vector3 | ||
showDiagram | bool | ||
terrainAccuracy | float | ||
terrainMergeMargin | float | ||
terrainMergeWidth | float | ||
trackBumpers | bool | ||
trackColliderWallHeight | float | ||
twistAngle | float | ||
twistPoints | int | ||
twistRadius | float |
Method | Description | |
---|---|---|
AddPoint ( Vector3 position ) : TrackBuildRPoint, | ||
AddPoint ( TrackBuildRPoint, point ) : void | ||
AddTexture ( ) : void | ||
CheckDiagram ( ) : void | ||
Clear ( ) : void | ||
FromKML ( string coordinates ) : void | ||
FromXML ( XmlNode node ) : void | ||
GenerateSecondaryUVSet ( ) : void |
/// Mark the pit lane as dirty so it will be recalculated/rebuilt /// /// Set pit lane point data to rerender ///
|
|
GetLastPointIndex ( float trackPercentage ) : int | ||
GetLeftBoundaryPosition ( float t ) : Vector3 | ||
GetNearestPoint ( Vector3 fromPostition ) : float | ||
GetNearestPointIndex ( float trackPercentage ) : int | ||
GetNextPointIndex ( float trackPercentage ) : int | ||
GetPoint ( int index ) : TrackBuildRPoint, | ||
GetRightBoundaryPosition ( float t ) : Vector3 | ||
GetTexturesArray ( ) : TrackBuildRTexture[] | ||
GetTrackCross ( float t ) : Vector3 | ||
GetTrackCrownAngle ( float t ) : float | ||
GetTrackDirection ( float t ) : Vector3 | ||
GetTrackPercentage ( TrackBuildRPoint, point ) : float | ||
GetTrackPercentage ( int pointIndex ) : float | ||
GetTrackPosition ( float t ) : Vector3 | ||
GetTrackUp ( float t ) : Quaternion | ||
GetTrackWidth ( float t ) : float | ||
InitTextures ( ) : void | ||
InsertPoint ( int index ) : TrackBuildRPoint, | ||
InsertPoint ( TrackBuildRPoint, point, int index ) : void | ||
OnEnable ( ) : void | ||
OptimseMeshes ( ) : void | ||
ReRenderTrack ( ) : void |
Set all point data to rerender
|
|
RecalculateCurves ( ) : void | ||
RemovePoint ( TrackBuildRPoint point ) : void | ||
RemoveTexture ( TrackBuildRTexture texture ) : void | ||
SetTrackDirty ( ) : void |
Mark the entire track as dirty so it will be recalculated/rebuilt
|
|
Texture ( int index ) : TrackBuildRTexture | ||
ToXML ( ) : string | ||
TrackRendered ( ) : void |
Set all point data as rendered
|
|
this ( int index ) : TrackBuildRPoint |
Method | Description | |
---|---|---|
SignedAngle ( Vector3 from, Vector3 to, Vector3 up ) : float |
public AddPoint ( Vector3 position ) : TrackBuildRPoint, | ||
position | Vector3 | |
return | TrackBuildRPoint, |
public AddPoint ( TrackBuildRPoint, point ) : void | ||
point | TrackBuildRPoint, | |
return | void |
public GetLastPointIndex ( float trackPercentage ) : int | ||
trackPercentage | float | |
return | int |
public GetLeftBoundaryPosition ( float t ) : Vector3 | ||
t | float | |
return | Vector3 |
public GetNearestPoint ( Vector3 fromPostition ) : float | ||
fromPostition | Vector3 | |
return | float |
public GetNearestPointIndex ( float trackPercentage ) : int | ||
trackPercentage | float | |
return | int |
public GetNextPointIndex ( float trackPercentage ) : int | ||
trackPercentage | float | |
return | int |
public GetPoint ( int index ) : TrackBuildRPoint, | ||
index | int | |
return | TrackBuildRPoint, |
public GetRightBoundaryPosition ( float t ) : Vector3 | ||
t | float | |
return | Vector3 |
public GetTexturesArray ( ) : TrackBuildRTexture[] | ||
return | TrackBuildRTexture[] |
public GetTrackCrownAngle ( float t ) : float | ||
t | float | |
return | float |
public GetTrackDirection ( float t ) : Vector3 | ||
t | float | |
return | Vector3 |
public GetTrackPercentage ( TrackBuildRPoint, point ) : float | ||
point | TrackBuildRPoint, | |
return | float |
public GetTrackPercentage ( int pointIndex ) : float | ||
pointIndex | int | |
return | float |
public GetTrackPosition ( float t ) : Vector3 | ||
t | float | |
return | Vector3 |
public InsertPoint ( int index ) : TrackBuildRPoint, | ||
index | int | |
return | TrackBuildRPoint, |
public InsertPoint ( TrackBuildRPoint, point, int index ) : void | ||
point | TrackBuildRPoint, | |
index | int | |
return | void |
public RemovePoint ( TrackBuildRPoint point ) : void | ||
point | TrackBuildRPoint | |
return | void |
public RemoveTexture ( TrackBuildRTexture texture ) : void | ||
texture | TrackBuildRTexture | |
return | void |
public Texture ( int index ) : TrackBuildRTexture | ||
index | int | |
return | TrackBuildRTexture |