maxCamerasDepth property

int maxCamerasDepth
getter/setter pair

Maximum number of nested cameras that will be rendered.

This variable helps prevent infinite recursion when a camera is set to look at the world that contains that camera.

Implementation

static int maxCamerasDepth = 4;