PhysicsEngineCountBodies Method (PredicatePhysicsBody) |
Counts the number of bodies in the physics world matching the provided predicate.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic int CountBodies(
Predicate<PhysicsBody> predicate
)
Parameters
- predicate
- Type: SystemPredicatePhysicsBody
The predicate.
Return Value
Type:
Int32The number of bodies.
See Also