C# Class Particles.BoxConstrain

Inheritance: ObjectConstrain
ファイルを表示 Open project: guidovanhilst/SharpThreejs Class Usage Examples

Public Properties

Property Type Description
Center THREE.Vector3
Depth double
Height double
Width double

Public Methods

Method Description
BoxConstrain ( THREE center, double w, double h, double d ) : System
Constrain ( THREE pos ) : THREE.Vector3
MakeBox ( ) : void
MakeMesh ( ) : void
UpdateMesh ( ) : void

Private Methods

Method Description
Back ( ) : double
Bottom ( ) : double
Distance ( double value, int index ) : double
Front ( ) : double
IsX ( int i ) : bool
IsY ( int i ) : bool
IsZ ( int i ) : bool
Right ( ) : double
Top ( ) : double
left ( ) : double

Method Details

BoxConstrain() public method

public BoxConstrain ( THREE center, double w, double h, double d ) : System
center THREE
w double
h double
d double
return System

Constrain() public method

public Constrain ( THREE pos ) : THREE.Vector3
pos THREE
return THREE.Vector3

MakeBox() public method

public MakeBox ( ) : void
return void

MakeMesh() public method

public MakeMesh ( ) : void
return void

UpdateMesh() public method

public UpdateMesh ( ) : void
return void

Property Details

Center public_oe property

public THREE.Vector3 Center
return THREE.Vector3

Depth public_oe property

public double Depth
return double

Height public_oe property

public double Height
return double

Width public_oe property

public double Width
return double