Click or drag to resize

Simple3DRendererAddSphere Method (Vector3, Double, Int32, Boolean, Double)

Renders a sphere.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void AddSphere(
	Vector3 origin,
	double radius,
	int segments = 32,
	bool solid = false,
	double lineThickness = 0
)

Parameters

origin
Type: NeoAxisVector3
radius
Type: SystemDouble
segments (Optional)
Type: SystemInt32
The count of lines in circles of sphere.
solid (Optional)
Type: SystemBoolean
lineThickness (Optional)
Type: SystemDouble
See Also