C# Class makeLineSimple, vive-holojam

Inheritance: MonoBehaviour
显示文件 Open project: nyu-vr-research/vive-holojam

Public Properties

Property Type Description
detailAngle float
detailDistance float
eraseDistance float
eraseSpeed float
hashGrid List>.Dictionary
isBeingDestroyed bool
isDestroyed bool
lineWidth float
lines List
maxPoints int

Public Methods

Method Description
Awake ( ) : void
Update ( ) : void
addNewLine ( GameObject brush ) : void
addPoint ( GameObject b ) : void
addPoints ( GameObject b, bool d ) : 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 ) : void
b GameObject
return void

addPoints() public method

public addPoints ( GameObject b, bool d ) : void
b GameObject
d bool
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

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