Tesla Graphics Engine Documentation (January 2012)
SetData Method (center, zSamples, radSamples, radius)
Tesla
►
Tesla.Scene.Shape
►
Sphere
►
SetData(Vector3, Int32, Int32, Single)
C#
Sets the sphere's data and calls Mesh.Reconstruct()
Declaration Syntax
C#
public
void
SetData
(
Vector3
center
,
int
zSamples
,
int
radSamples
,
float
radius
)
Parameters
center
(
Vector3
)
Center of the sphere
zSamples
(
Int32
)
Number of samples along the z-axis
radSamples
(
Int32
)
Number of samples along the radius
radius
(
Single
)
Radius of the sphere
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)