PolygonToolsCreateGear Method |
Creates a gear shape with the specified radius and number of teeth.
Namespace: Internal.tainicom.Aether.Physics2D.CommonAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static Vertices CreateGear(
float radius,
int numberOfTeeth,
float tipPercentage,
float toothHeight
)
Parameters
- radius Single
- The radius.
- numberOfTeeth Int32
- The number of teeth.
- tipPercentage Single
- The tip percentage.
- toothHeight Single
- Height of the tooth.
Return Value
Vertices
See Also