C# Class Particles.BallConstrain

Concrete ball constrained
Inheritance: ObjectConstrain
Show file Open project: guidovanhilst/SharpThreejs Class Usage Examples

Public Properties

Property Type Description
Center THREE.Vector3
Radius double

Public Methods

Method Description
BallConstrain ( THREE c, double ballRadius ) : System
ChangeRadius ( double r ) : void
Constrain ( THREE pos ) : THREE.Vector3
MakeMesh ( ) : void
UpdateMesh ( ) : void

Method Details

BallConstrain() public method

public BallConstrain ( THREE c, double ballRadius ) : System
c THREE
ballRadius double
return System

ChangeRadius() public method

public ChangeRadius ( double r ) : void
r double
return void

Constrain() public method

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

MakeMesh() public method

public MakeMesh ( ) : void
return void

UpdateMesh() public method

public UpdateMesh ( ) : void
return void

Property Details

Center public property

public THREE.Vector3 Center
return THREE.Vector3

Radius public property

public double Radius
return double