Click or drag to resize

SimpleMeshGeneratorGenerateSphere(Double, Int32, Int32, Boolean, Vector3F, Vector3F, Vector4F, Vector2F, Int32, SimpleMeshGeneratorFace) Method


Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void GenerateSphere(
	double radius,
	int hSegments,
	int vSegments,
	bool insideOut,
	out Vector3F[] positions,
	out Vector3F[] normals,
	out Vector4F[] tangents,
	out Vector2F[] texCoords,
	out int[] indices,
	out SimpleMeshGeneratorFace[] faces
)

Parameters

radius  Double
 
hSegments  Int32
 
vSegments  Int32
 
insideOut  Boolean
 
positions  Vector3F
 
normals  Vector3F
 
tangents  Vector4F
 
texCoords  Vector2F
 
indices  Int32
 
faces  SimpleMeshGeneratorFace
 
See Also