The Camera is a property on the Game Control, by default this is created to be have position set to 0,0,0 and the target to 0,0,1. The Camera property is of type IView and different view types exist in Balder. In the namespace Balder.View you'll find a type called Camera, it has a Position and a Target property we can use.
You can easily modify this:

<Execution:Game Width="800" Height="600">
   <Execution:Game.Camera>
      <View:Camera Position="0,0,0" Target="0,0,1"/>
   </Execution:Game.Camera>
</Execution:Game>

It is also possible to Storyboard the Camera directly, without having to declare it. See Storyboarding for more details.

The Camera also has a set of other properties, but these are for now not possible to manipulate.

Last edited Jul 26, 2010 at 10:24 PM by adept, version 4

Comments

No comments yet.