Click or drag to resize

PolygonToolsCreateGear Method

Creates a gear shape with the specified radius and number of teeth.

Namespace:  Internal.tainicom.Aether.Physics2D.Common
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static Vertices CreateGear(
	float radius,
	int numberOfTeeth,
	float tipPercentage,
	float toothHeight
)

Parameters

radius
Type: SystemSingle
The radius.
numberOfTeeth
Type: SystemInt32
The number of teeth.
tipPercentage
Type: SystemSingle
The tip percentage.
toothHeight
Type: SystemSingle
Height of the tooth.

Return Value

Type: Vertices
See Also