Tesla Graphics Engine Documentation (January 2012)
Sphere Constructor (name, center, zSamples, radSamples, radius)
Tesla
►
Tesla.Scene.Shape
►
Sphere
►
Sphere(String, Vector3, Int32, Int32, Single)
C#
Creates a new instance of a sphere.
Declaration Syntax
C#
public
Sphere
(
string
name
,
Vector3
center
,
int
zSamples
,
int
radSamples
,
float
radius
)
Parameters
name
(
String
)
Name of the sphere
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)