Tesla Graphics Engine Documentation (January 2012)
SetData Method (center, xExtent, yExtent, zExtent)
Tesla
►
Tesla.Scene.Shape
►
Box
►
SetData(Vector3, Single, Single, Single)
C#
Update's the box's data with the new center and extents (half-lengths).
Declaration Syntax
C#
public
void
SetData
(
Vector3
center
,
float
xExtent
,
float
yExtent
,
float
zExtent
)
Parameters
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)