Tesla Graphics Engine Documentation (January 2012)
Box Constructor (name, xExtent, yExtent, zExtent)
Tesla
►
Tesla.Scene.Shape
►
Box
►
Box(String, Single, Single, Single)
C#
Creates a new instance of a box centered at the origin.
Declaration Syntax
C#
public
Box
(
string
name
,
float
xExtent
,
float
yExtent
,
float
zExtent
)
Parameters
name
(
String
)
Name 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)