Class CameraState<TCoordinates>
- Namespace
- AlphaFramework.World.Positionables
- Assembly
- AlphaFramework.World.dll
Stores the position and direction of the camera in the game.
public class CameraState<TCoordinates> : Positionable<TCoordinates>, ICloneable, IChangeNotify<Positionable<TCoordinates>> where TCoordinates : struct
Type Parameters
TCoordinates
Data type for storing position coordinates of objects in the game world.
- Inheritance
-
Positionable<TCoordinates>CameraState<TCoordinates>
- Implements
-
IChangeNotify<Positionable<TCoordinates>>
- Derived
- Inherited Members
- Extension Methods
Properties
Radius
The camera's distance from the focused position.
public float Radius { get; set; }
Property Value
Rotation
The horizontal rotation of the view direction in degrees.
public float Rotation { get; set; }