C# Class RampBrush, RoverGame

Inheritance: MonoBehaviour
Mostrar archivo Open project: Stumpstump/RoverGame Class Usage Examples

Public Properties

Property Type Description
backupVector Vector3
beginRamp Vector3
brushOn bool
brushOpacity float
brushPosition Vector3
brushSampleDensity float
brushSize float
brushSoftness float
controlPoints List
endRamp Vector3
isBrushHidden bool
multiPoint bool
numSubDivPerSeg int
shiftProcessed bool
sizeJitter float
spacingJitter float
turnBrushOnVar bool

Public Methods

Method Description
OnDrawGizmos ( ) : void
StrokePath ( ) : void
_StrokePath ( ) : void
bitmapCordsToTerrain ( TerrainData terData, int x, int y ) : float[]
rampBrush ( ) : void
terrainCordsToBitmap ( TerrainData terData, Vector3 v ) : int[]
toggleBrushOn ( ) : void

Private Methods

Method Description
calculateDistBetweenPoints ( List cps ) : void
calculateDistBetweenPointsInPixels ( List cps, TerrainData terData ) : void
parameterizedLine ( float t, List cps, StringBuilder sb = null ) : Ray

Method Details

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

StrokePath() public method

public StrokePath ( ) : void
return void

_StrokePath() public method

public _StrokePath ( ) : void
return void

bitmapCordsToTerrain() public method

public bitmapCordsToTerrain ( TerrainData terData, int x, int y ) : float[]
terData TerrainData
x int
y int
return float[]

rampBrush() public method

public rampBrush ( ) : void
return void

terrainCordsToBitmap() public method

public terrainCordsToBitmap ( TerrainData terData, Vector3 v ) : int[]
terData TerrainData
v Vector3
return int[]

toggleBrushOn() public method

public toggleBrushOn ( ) : void
return void

Property Details

backupVector public_oe property

public Vector3 backupVector
return Vector3

beginRamp public_oe property

public Vector3 beginRamp
return Vector3

brushOn public_oe property

public bool brushOn
return bool

brushOpacity public_oe property

public float brushOpacity
return float

brushPosition public_oe property

public Vector3 brushPosition
return Vector3

brushSampleDensity public_oe property

public float brushSampleDensity
return float

brushSize public_oe property

public float brushSize
return float

brushSoftness public_oe property

public float brushSoftness
return float

controlPoints public_oe property

public List controlPoints
return List

endRamp public_oe property

public Vector3 endRamp
return Vector3

isBrushHidden public_oe property

public bool isBrushHidden
return bool

multiPoint public_oe property

public bool multiPoint
return bool

numSubDivPerSeg public_oe property

public int numSubDivPerSeg
return int

shiftProcessed public_oe property

public bool shiftProcessed
return bool

sizeJitter public_oe property

public float sizeJitter
return float

spacingJitter public_oe property

public float spacingJitter
return float

turnBrushOnVar public_oe property

public bool turnBrushOnVar
return bool