Tesla Graphics Engine Documentation (January 2012)
Box Constructor (name, center, xExtent, yExtent, zExtent)
Tesla
►
Tesla.Scene.Shape
►
Box
►
Box(String, Vector3, Single, Single, Single)
C#
Creates a new instance of Box.
Declaration Syntax
C#
public
Box
(
string
name
,
Vector3
center
,
float
xExtent
,
float
yExtent
,
float
zExtent
)
Parameters
name
(
String
)
Name of the box
center
(
Vector3
)
Center of the box
xExtent
(
Single
)
xExtent (half length) along the x-axis
yExtent
(
Single
)
yExtent (half length) along the y-axis
zExtent
(
Single
)
zExtent (half length) along the z-axis
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)