Click or drag to resize

PhysicsEngineCountBodies(PredicatePhysicsBody) Method

Counts the number of bodies in the physics world matching the provided predicate.

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public int CountBodies(
	Predicate<PhysicsBody> predicate
)

Parameters

predicate  PredicatePhysicsBody
The predicate.

Return Value

Int32
The number of bodies.
See Also