Свойство | Тип | Описание | |
---|---|---|---|
CameraState | CameraStates | ||
EarthRadius | double | ||
FinalCamPosition | System.DVector3 | ||
ProjMatrix | DMatrix | ||
ProjMatrixFloat | System.Matrix | ||
ViewMatrix | DMatrix | ||
ViewMatrixFloat | System.Matrix | ||
ViewMatrixWithTranslation | DMatrix |
Метод | Описание | |
---|---|---|
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 ( |
Метод | Описание | |
---|---|---|
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 | |
Результат | 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 | |
Результат | void |
public GlobeCamera ( Game engine ) : System | ||
engine | Game | |
Результат | System |
public LoadAnimation ( string fileName = "cameraAnimation.txt" ) : void | ||
fileName | string | |
Результат | void |
public LoadCameraStates ( string fileName = "cameraStates.txt" ) : void | ||
fileName | string | |
Результат | void |
public MoveCamera ( System.Vector2 prevMousePos, System.Vector2 currentMousePos ) : void | ||
prevMousePos | System.Vector2 | |
currentMousePos | System.Vector2 | |
Результат | void |
public MoveFreeSurfaceCamera ( System.DVector3 direction ) : void | ||
direction | System.DVector3 | |
Результат | void |
public PlayAnimation ( |
||
gameTime | ||
Результат | void |
public RotateFreeSurfaceCamera ( System.Vector2 relativeMouseOffset ) : void | ||
relativeMouseOffset | System.Vector2 | |
Результат | void |
public RotateFreeSurfaceCamera ( double yawDelta, double pitchDelta ) : void | ||
yawDelta | double | |
pitchDelta | double | |
Результат | void |
public RotateViewToPointCamera ( System.Vector2 relativeMouseOffset ) : void | ||
relativeMouseOffset | System.Vector2 | |
Результат | void |
public RotateViewToPointCamera ( double yawDelta, double pitchDelta ) : void | ||
yawDelta | double | |
pitchDelta | double | |
Результат | void |
public SaveCurrentStateToFile ( string fileName = "cameraAnimation.txt", string stateName = "" ) : void | ||
fileName | string | |
stateName | string | |
Результат | void |
public ScreenToSpherical ( float x, float y, DVector2 &lonLat ) : bool | ||
x | float | |
y | float | |
lonLat | DVector2 | |
Результат | bool |
public Update ( |
||
gameTime | ||
Результат | void |
public DVector3,System FinalCamPosition | ||
Результат | System.DVector3 |