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

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

Syntax

C#
public Cube(
	XYZ pos,
	float size,
	alfaXYZ rot,
	XYZ centre,
	XYZ scale,
	alfaXYZ scaleOrientation,
	Color color,
	int layer
)
Visual Basic (Declaration)
Public Sub New ( _
	pos As XYZ, _
	size As Single, _
	rot As alfaXYZ, _
	centre As XYZ, _
	scale As XYZ, _
	scaleOrientation As alfaXYZ, _
	color As Color, _
	layer As Integer _
)
Visual C++
public:
Cube(
	XYZ^ pos, 
	float size, 
	alfaXYZ^ rot, 
	XYZ^ centre, 
	XYZ^ scale, 
	alfaXYZ^ scaleOrientation, 
	Color color, 
	int layer
)

Parameters

pos
Type: GLSV..::.XYZ
Cube position
size
Type: System..::.Single
Cube size
rot
Type: GLSV..::.alfaXYZ
Cube rotation
centre
Type: GLSV..::.XYZ
Cube centre
scale
Type: GLSV..::.XYZ
Cube scañe
scaleOrientation
Type: GLSV..::.alfaXYZ
Cube scale orientation
color
Type: System.Drawing..::.Color
Cube color
layer
Type: System..::.Int32
Cube layer

See Also