프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
SignedAngle ( Vector3 from, Vector3 to, Vector3 up ) : float |
public AddPoint ( Vector3 position ) : TrackBuildRPoint, | ||
position | Vector3 | |
리턴 | TrackBuildRPoint, |
public AddPoint ( TrackBuildRPoint, point ) : void | ||
point | TrackBuildRPoint, | |
리턴 | void |
public GetLastPointIndex ( float trackPercentage ) : int | ||
trackPercentage | float | |
리턴 | int |
public GetLeftBoundaryPosition ( float t ) : Vector3 | ||
t | float | |
리턴 | Vector3 |
public GetNearestPoint ( Vector3 fromPostition ) : float | ||
fromPostition | Vector3 | |
리턴 | float |
public GetNearestPointIndex ( float trackPercentage ) : int | ||
trackPercentage | float | |
리턴 | int |
public GetNextPointIndex ( float trackPercentage ) : int | ||
trackPercentage | float | |
리턴 | int |
public GetRightBoundaryPosition ( float t ) : Vector3 | ||
t | float | |
리턴 | Vector3 |
public GetTexturesArray ( ) : TrackBuildRTexture[] | ||
리턴 | TrackBuildRTexture[] |
public GetTrackPercentage ( TrackBuildRPoint, point ) : float | ||
point | TrackBuildRPoint, | |
리턴 | float |
public GetTrackPercentage ( int pointIndex ) : float | ||
pointIndex | int | |
리턴 | float |
public InsertPoint ( int index ) : TrackBuildRPoint, | ||
index | int | |
리턴 | TrackBuildRPoint, |
public InsertPoint ( TrackBuildRPoint, point, int index ) : void | ||
point | TrackBuildRPoint, | |
index | int | |
리턴 | void |
public RemovePoint ( TrackBuildRPoint point ) : void | ||
point | TrackBuildRPoint | |
리턴 | void |
public RemoveTexture ( TrackBuildRTexture texture ) : void | ||
texture | TrackBuildRTexture | |
리턴 | void |