Click or drag to resize
Ab4d.SharpEngine logo

MeshFactoryGetSphereTriangleIndicesArray Method

Returns an array of triangle indexes that can be used with vertex buffer created by SetSphereVerticesArray(Vector3, Single, Int32, PositionNormalTextureVertex, BoundingBox) method.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public static int[] GetSphereTriangleIndicesArray(
	int segments
)

Parameters

segments  Int32
number of segments that define the sphere

Return Value

Int32
array of triangle indexes
See Also