C# Class metaballMeshGenerator, UniFluid

Inheritance: MonoBehaviour
Datei anzeigen Open project: VirsixInc/UniFluid

Public Properties

Property Type Description
triangles int[]
vertices Vector3[]

Public Methods

Method Description
addChargeNode ( GameObject node ) : void
removeChargeNode ( GameObject node ) : void

Private Methods

Method Description
OnDisable ( ) : void
Start ( ) : void
Update ( ) : void
addChargeToLattice ( int latticeID, float x, float y, float z, float charge ) : void
clearLatticeCharges ( int latticeID ) : void
deallocLatticeChargeReturn ( int latticeID ) : void
getChargeLattice ( int latticeID ) : float*
getCurrentLatticeSize ( int latticeID ) : uint
getLatticeCharges ( int latticeID ) : float*
getLatticeFrameNormals ( int latticeID ) : float*
getLatticeFrameTriCount ( int latticeID ) : int
getLatticeFrameTriangles ( int latticeID ) : int*
getLatticeFrameVertCount ( int latticeID ) : int
getLatticeFrameVertices ( int latticeID ) : float*
getLatticeXDim ( int latticeID ) : uint
getLatticeYDim ( int latticeID ) : uint
getLatticeZDim ( int latticeID ) : uint
removeLattice ( int latticeId ) : void
setLatticeXDim ( int latticeID, uint xDim ) : void
setLatticeYDim ( int latticeID, uint yDim ) : void
setLatticeZDim ( int latticeID, uint zDim ) : void
setupLattice ( uint xDim, uint yDim, uint zDim, float xScale, float yScale, float zScale ) : int
setupLattice ( uint xDim, uint yDim, uint zDim, float xScale, float yScale, float zScale ) : void
startEngine ( ) : void
updateLattice ( int latticeID ) : void

Method Details

addChargeNode() public method

public addChargeNode ( GameObject node ) : void
node GameObject
return void

removeChargeNode() public method

public removeChargeNode ( GameObject node ) : void
node GameObject
return void

Property Details

triangles public_oe property

public int[] triangles
return int[]

vertices public_oe property

public Vector3[] vertices
return Vector3[]