Struct nphysics3d::counters::CollisionDetectionCounters[][src]

pub struct CollisionDetectionCounters {
    pub ncontact_pairs: usize,
    pub broad_phase_time: Timer,
    pub narrow_phase_time: Timer,
}

Performance counters related to collision detection.

Fields

Number of contact pairs detected.

Time spent for the broad-phase of the collision detection.

Time spent for the narrow-phase of the collision detection.

Methods

impl CollisionDetectionCounters
[src]

Creates a new counter initialized to zero.

Trait Implementations

impl Display for CollisionDetectionCounters
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations