Class constructor. Sets all the param a sphere needs to exist

Namespace:  GLSV
Assembly:  GLSV (in GLSV.dll) Version: 1.2009.6.26 (1.2009.06.26)

Syntax

C#
public Sphere(
	XYZ pos,
	double radio,
	alfaXYZ rot,
	XYZ centre,
	XYZ scale,
	alfaXYZ scaleOrientation,
	Color color,
	int layer
)
Visual Basic (Declaration)
Public Sub New ( _
	pos As XYZ, _
	radio As Double, _
	rot As alfaXYZ, _
	centre As XYZ, _
	scale As XYZ, _
	scaleOrientation As alfaXYZ, _
	color As Color, _
	layer As Integer _
)
Visual C++
public:
Sphere(
	XYZ^ pos, 
	double radio, 
	alfaXYZ^ rot, 
	XYZ^ centre, 
	XYZ^ scale, 
	alfaXYZ^ scaleOrientation, 
	Color color, 
	int layer
)

Parameters

pos
Type: GLSV..::.XYZ
Sphere position
radio
Type: System..::.Double
Sphere radio
rot
Type: GLSV..::.alfaXYZ
Sphere rotation
centre
Type: GLSV..::.XYZ
Sphere centre
scale
Type: GLSV..::.XYZ
Sphere scale
scaleOrientation
Type: GLSV..::.alfaXYZ
Sphere scale orientation
color
Type: System.Drawing..::.Color
Sphere color
layer
Type: System..::.Int32
Sphere layer

See Also