Instance Property

showsPhysics

A Boolean value that indicates whether the view displays physics-related debugging information.

Declaration

@property(nonatomic) BOOL showsPhysics;

Discussion

When this debugging option is enabled, each time a frame is rendered, an overlay image is drawn on top of your scene that shows the positions and shapes of any physics bodies visible in the scene.

See Also

Enabling Visual Statistics for Debugging

showsFPS

A Boolean value that indicates whether the view displays a frame rate indicator.

showsNodeCount

A Boolean value that indicates whether the view displays an overlay that shows physics bodies that are visible in the scene.

showsDrawCount

A Boolean value that indicates whether the view displays the number of drawing passes it needed to render the view.

showsQuadCount

A Boolean value that indicates whether the view displays the number of rectangles used to render the scene.

showsFields

A Boolean value that indicates whether the view displays information about physics fields in the scene.