C# Class makeLine, vive-holojam

Inheritance: MonoBehaviour
显示文件 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_oe property

public Color color
return Color

detailAngle public_oe property

public float detailAngle
return float

detailDistance public_oe property

public float detailDistance
return float

eraseDistance public_oe property

public float eraseDistance
return float

eraseSpeed public_oe property

public float eraseSpeed
return float

hashGrid public_oe property

public Dictionary> hashGrid
return List>.Dictionary

isBeingDestroyed public_oe property

public bool isBeingDestroyed
return bool

isDestroyed public_oe property

public bool isDestroyed
return bool

lineWidth public_oe property

public float lineWidth
return float

lines public_oe property

public List lines
return List

maxPoints public_oe property

public int maxPoints
return int

wand public_oe property

public WandController,AssemblyCSharp wand
return AssemblyCSharp.WandController

wandModel public_oe property

public GameObject wandModel
return GameObject