C# Class makeLine, vive-holojam

Inheritance: MonoBehaviour
Show file Open project: nyu-vr-research/vive-holojam Class Usage Examples

Public Properties

Property Type Description
color Color
detailAngle float
detailDistance float
eraseDistance float
eraseSpeed float
hashGrid List>.Dictionary
isBeingDestroyed bool
isDestroyed bool
lineWidth float
lines List
maxPoints int
wand AssemblyCSharp.WandController
wandModel GameObject

Public Methods

Method Description
Awake ( ) : void
Update ( ) : void
addNewLine ( GameObject brush ) : void
addPoint ( GameObject b, float t ) : void
addPoints ( GameObject b, bool d, float t ) : void
clearAllLines ( ) : void
dequeueLine ( int index ) : void
getHashedCell ( Vector3 pos ) : int
getPointCount ( ) : int
getVertFromTotalIndex ( int index ) : Point
makeTexture ( ) : void
rebuildLine ( ) : void
reduceTransparency ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Update() public method

public Update ( ) : void
return void

addNewLine() public method

public addNewLine ( GameObject brush ) : void
brush GameObject
return void

addPoint() public method

public addPoint ( GameObject b, float t ) : void
b GameObject
t float
return void

addPoints() public method

public addPoints ( GameObject b, bool d, float t ) : void
b GameObject
d bool
t float
return void

clearAllLines() public method

public clearAllLines ( ) : void
return void

dequeueLine() public method

public dequeueLine ( int index ) : void
index int
return void

getHashedCell() public method

public getHashedCell ( Vector3 pos ) : int
pos Vector3
return int

getPointCount() public method

public getPointCount ( ) : int
return int

getVertFromTotalIndex() public method

public getVertFromTotalIndex ( int index ) : Point
index int
return Point

makeTexture() public method

public makeTexture ( ) : void
return void

rebuildLine() public method

public rebuildLine ( ) : void
return void

reduceTransparency() public method

public reduceTransparency ( ) : void
return void

Property Details

color public property

public Color color
return Color

detailAngle public property

public float detailAngle
return float

detailDistance public property

public float detailDistance
return float

eraseDistance public property

public float eraseDistance
return float

eraseSpeed public property

public float eraseSpeed
return float

hashGrid public property

public Dictionary> hashGrid
return List>.Dictionary

isBeingDestroyed public property

public bool isBeingDestroyed
return bool

isDestroyed public property

public bool isDestroyed
return bool

lineWidth public property

public float lineWidth
return float

lines public property

public List lines
return List

maxPoints public property

public int maxPoints
return int

wand public property

public WandController,AssemblyCSharp wand
return AssemblyCSharp.WandController

wandModel public property

public GameObject wandModel
return GameObject