Main

FlatRedBall.Camera

Introduction

The Main property provides access to the main Camera in FlatRedBall. This value is always valid, and represents the default view. Therefore, it can be used to modify the view.

Code Example

To modify the X value of the Camera, you can use the Camera.Main property as follows:

Camera.Main.X = 10;