Click or drag to resize

PathManagerEvenlyDistributeShapesAlongPath Method (World, Path, IEnumerableShape, BodyType, Int32, Object)

Duplicates the given Body along the given path for approximatly the given copies.

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 List<Body> EvenlyDistributeShapesAlongPath(
	World world,
	Path path,
	IEnumerable<Shape> shapes,
	BodyType type,
	int copies,
	Object userData = null
)

Parameters

world
Type: Internal.tainicom.Aether.Physics2D.DynamicsWorld
The world.
path
Type: Internal.tainicom.Aether.Physics2D.CommonPath
The path.
shapes
Type: System.Collections.GenericIEnumerableShape
The shapes.
type
Type: Internal.tainicom.Aether.Physics2D.DynamicsBodyType
The type.
copies
Type: SystemInt32
The copies.
userData (Optional)
Type: SystemObject

Return Value

Type: ListBody
See Also