Tesla Graphics Engine Documentation (January 2012)
SetData Method (center, extents, insideOut)
Tesla
►
Tesla.Scene.Shape
►
Box
►
SetData(Vector3, Vector3, Boolean)
C#
Update's the box's data with the new center and extents (half-lengths).
Declaration Syntax
C#
public
void
SetData
(
Vector3
center
,
Vector3
extents
,
bool
insideOut
)
Parameters
center
(
Vector3
)
Center of the box
extents
(
Vector3
)
Box extents (half-lengths) along each axis
insideOut
(
Boolean
)
Create an inside-out box (swaps winding order)
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)