PathManagerConvertPathToPolygon Method |
Convert a closed path into a polygon.
Convex decomposition is automatically performed.
Namespace: Internal.tainicom.Aether.Physics2D.CommonAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static void ConvertPathToPolygon(
Path path,
Body body,
float density,
int subdivisions
)
Parameters
- path Path
- The path.
- body Body
- The body.
- density Single
- The density.
- subdivisions Int32
- The subdivisions.
See Also