Property | Type | Description | |
---|---|---|---|
INITIAL_CAMERA_ORIGIN | Vector3 | ||
INITIAL_HIGH_SETTINGS | |||
INITIAL_LOW_SETTINGS | |||
lowSettings |
Method | Description | |
---|---|---|
Camera ( |
||
GetSelectionBox ( Vector2 screenMin, Vector2 screenMax ) : BoundingFrustum | ||
GetViewRay ( Vector2 screenPos ) : Microsoft.Xna.Framework.Ray | ||
MoveTo ( float x, float z ) : void | ||
RecalculateView ( CollisionGrid map, float dist ) : void | ||
Update ( CollisionGrid map, float dt ) : void |
Method | Description | |
---|---|---|
Orbit ( int x, int y, |
||
Scroll ( int x, int y, |
||
Zoom ( int z, float dt ) : void |
public Camera ( |
||
v | ||
return | System |
public GetSelectionBox ( Vector2 screenMin, Vector2 screenMax ) : BoundingFrustum | ||
screenMin | Vector2 | |
screenMax | Vector2 | |
return | BoundingFrustum |
public GetViewRay ( Vector2 screenPos ) : Microsoft.Xna.Framework.Ray | ||
screenPos | Vector2 | |
return | Microsoft.Xna.Framework.Ray |
public RecalculateView ( CollisionGrid map, float dist ) : void | ||
map | CollisionGrid | |
dist | float | |
return | void |
public Update ( CollisionGrid map, float dt ) : void | ||
map | CollisionGrid | |
dt | float | |
return | void |
public static Vector3 INITIAL_CAMERA_ORIGIN | ||
return | Vector3 |
public static CameraMotionSettings,RTSEngine.Data INITIAL_HIGH_SETTINGS | ||
return |
public static CameraMotionSettings,RTSEngine.Data INITIAL_LOW_SETTINGS | ||
return |