AlphaFramework API  1.0.3
Properties | List of all members
AlphaFramework.World.Positionables.CameraState< TCoordinates > Class Template Reference

Stores the position and direction of the camera in the game. More...

Inheritance diagram for AlphaFramework.World.Positionables.CameraState< TCoordinates >:
AlphaFramework.World.Positionables.Positionable< TCoordinates > NanoByte::Common::ICloneable< T > AlphaFramework.World.Positionables.BenchmarkPoint< TCoordinates >

Properties

float Radius [get, set]
 The camera's distance from the focused position. More...
 
float Rotation [get, set]
 The horizontal rotation of the view direction in degrees. More...
 
- Properties inherited from AlphaFramework.World.Positionables.Positionable< TCoordinates >
string Name [get, set]
 Used for identification in scripts, debugging, etc. More...
 
TCoordinates Position [get, set]
 The Positionable<TCoordinates>'s position. More...
 

Additional Inherited Members

- Public Member Functions inherited from AlphaFramework.World.Positionables.Positionable< TCoordinates >
override string ToString ()
 
virtual Positionable< TCoordinates > Clone ()
 Creates a deep copy of this Positionable<TCoordinates>. More...
 
- Protected Member Functions inherited from AlphaFramework.World.Positionables.Positionable< TCoordinates >
virtual void OnChanged ()
 To be called when a property relevant for rendering has changed. More...
 
void OnChangedRebuild ()
 To be called when a property has changed that requires visual representations to rebuilt from scratch (usually a template). More...
 
- Events inherited from AlphaFramework.World.Positionables.Positionable< TCoordinates >
Action< Positionable< TCoordinates > > Changed
 Occurs when a property relevant for rendering has changed. More...
 
Action< Positionable< TCoordinates > > ChangedRebuild
 Occurs when a property has changed that requires visual representations to rebuilt from scratch (usually a template). More...
 

Detailed Description

Stores the position and direction of the camera in the game.

See also
UniverseBase<TCoordinates>.CurrentCamera
Template Parameters
TCoordinatesData type for storing position coordinates of objects in the game world.
Type Constraints
TCoordinates :struct 

Property Documentation

◆ Radius

float AlphaFramework.World.Positionables.CameraState< TCoordinates >.Radius
getset

The camera's distance from the focused position.

◆ Rotation

float AlphaFramework.World.Positionables.CameraState< TCoordinates >.Rotation
getset

The horizontal rotation of the view direction in degrees.


The documentation for this class was generated from the following file: