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