Property | Type | Description | |
---|---|---|---|
CameraState | CameraStates | ||
EarthRadius | double | ||
FinalCamPosition | System.DVector3 | ||
ProjMatrix | DMatrix | ||
ProjMatrixFloat | System.Matrix | ||
ViewMatrix | DMatrix | ||
ViewMatrixFloat | System.Matrix | ||
ViewMatrixWithTranslation | DMatrix |
Method | Description | |
---|---|---|
CameraZoom ( float delta ) : void | ||
CartesianToScreen ( System.DVector3 cartPos ) : System.Vector2 | ||
GetCameraLonLat ( ) : DVector2 | ||
GetRayFromScreenPoint ( float x, float y, System.DVector3 &near, System.DVector3 &far ) : void | ||
GlobeCamera ( Game engine ) : System | ||
GoToPlace ( Places place ) : void | ||
LoadAnimation ( string fileName = "cameraAnimation.txt" ) : void | ||
LoadCameraStates ( string fileName = "cameraStates.txt" ) : void | ||
MoveCamera ( System.Vector2 prevMousePos, System.Vector2 currentMousePos ) : void |
Move TopDown and ViewToPoint cameras
|
|
MoveFreeSurfaceCamera ( System.DVector3 direction ) : void | ||
PlayAnimation ( |
||
ResetAnimation ( ) : void | ||
RotateFreeSurfaceCamera ( System.Vector2 relativeMouseOffset ) : void | ||
RotateFreeSurfaceCamera ( double yawDelta, double pitchDelta ) : void | ||
RotateViewToPointCamera ( System.Vector2 relativeMouseOffset ) : void | ||
RotateViewToPointCamera ( double yawDelta, double pitchDelta ) : void | ||
SaveCurrentStateToFile ( string fileName = "cameraAnimation.txt", string stateName = "" ) : void | ||
ScreenToSpherical ( float x, float y, DVector2 &lonLat ) : bool | ||
SetState ( string name ) : void | ||
StopAnimation ( ) : void | ||
ToggleFreeSurfaceCamera ( ) : void | ||
ToggleTopDownCamera ( ) : void | ||
ToggleViewToPointCamera ( ) : void | ||
Update ( |
Method | Description | |
---|---|---|
CalculateBasisOnSurface ( ) : DMatrix | ||
GenerateId ( ) : string | ||
GetEulerAngles ( DMatrix q, double &yaw, double &pitch, double &roll ) : void | ||
GetEulerAngles ( DQuaternion q, double &yaw, double &pitch, double &roll ) : void | ||
LoadCameraStatesFromFile ( string fileName ) : List |
||
SetState ( SurfaceCameraState state ) : void | ||
UpdateProjectionMatrix ( ) : void |
public CartesianToScreen ( System.DVector3 cartPos ) : System.Vector2 | ||
cartPos | System.DVector3 | |
return | System.Vector2 |
public GetRayFromScreenPoint ( float x, float y, System.DVector3 &near, System.DVector3 &far ) : void | ||
x | float | |
y | float | |
near | System.DVector3 | |
far | System.DVector3 | |
return | void |
public LoadAnimation ( string fileName = "cameraAnimation.txt" ) : void | ||
fileName | string | |
return | void |
public LoadCameraStates ( string fileName = "cameraStates.txt" ) : void | ||
fileName | string | |
return | void |
public MoveCamera ( System.Vector2 prevMousePos, System.Vector2 currentMousePos ) : void | ||
prevMousePos | System.Vector2 | |
currentMousePos | System.Vector2 | |
return | void |
public MoveFreeSurfaceCamera ( System.DVector3 direction ) : void | ||
direction | System.DVector3 | |
return | void |
public PlayAnimation ( |
||
gameTime | ||
return | void |
public RotateFreeSurfaceCamera ( System.Vector2 relativeMouseOffset ) : void | ||
relativeMouseOffset | System.Vector2 | |
return | void |
public RotateFreeSurfaceCamera ( double yawDelta, double pitchDelta ) : void | ||
yawDelta | double | |
pitchDelta | double | |
return | void |
public RotateViewToPointCamera ( System.Vector2 relativeMouseOffset ) : void | ||
relativeMouseOffset | System.Vector2 | |
return | void |
public RotateViewToPointCamera ( double yawDelta, double pitchDelta ) : void | ||
yawDelta | double | |
pitchDelta | double | |
return | void |
public SaveCurrentStateToFile ( string fileName = "cameraAnimation.txt", string stateName = "" ) : void | ||
fileName | string | |
stateName | string | |
return | void |
public ScreenToSpherical ( float x, float y, DVector2 &lonLat ) : bool | ||
x | float | |
y | float | |
lonLat | DVector2 | |
return | bool |
public Update ( |
||
gameTime | ||
return | void |