DebugFlags Class Reference

The flag bits used by Director.Instance.DebugFlags. More...

List of all members.

Static Public Attributes

static uint DrawTransform = 1
 Draw each node's transform matrix as a red arrow + green arrow.
static uint DrawPivot = 2
 Show the pivot for all nodes.
static uint DrawContentLocalBounds = 4
 Show the content local bounds of nodes that defined GetlContentLocalBounds.
static uint DrawContentWorldBounds = 8
 Show the content world bounds of nodes that defined GetlContentLocalBounds.
static uint DrawGrid = 16
 Draw a debug world grid, with axis in black and rulers in grey.
static uint Navigate = 32
 Enable debug camera navigation (workd with Camera2D only.)

Detailed Description

The flag bits used by Director.Instance.DebugFlags.

By default they are all turned off.


Member Data Documentation

uint DrawContentLocalBounds = 4 [static]

Show the content local bounds of nodes that defined GetlContentLocalBounds.

Note that the content local bounds is transformed by the parent.