Méthode | Description | |
---|---|---|
ControlCamera ( float dt, |
||
GetViewRay ( Vector2 screenPos, int ww, int wh ) : Microsoft.Xna.Framework.Ray | ||
OrbitingCamera ( Vector3 c, float d, float aspect = DEFAULT_ASPECT ) : System | ||
UpdateProjection ( float aspect, float near = PROJ_NEAR, float far = PROJ_FAR ) : void | ||
UpdateView ( ) : void |
public ControlCamera ( float dt, |
||
dt | float | |
input | ||
vp | ||
Résultat | void |
public GetViewRay ( Vector2 screenPos, int ww, int wh ) : Microsoft.Xna.Framework.Ray | ||
screenPos | Vector2 | |
ww | int | |
wh | int | |
Résultat | Microsoft.Xna.Framework.Ray |
public OrbitingCamera ( Vector3 c, float d, float aspect = DEFAULT_ASPECT ) : System | ||
c | Vector3 | |
d | float | |
aspect | float | |
Résultat | System |
public UpdateProjection ( float aspect, float near = PROJ_NEAR, float far = PROJ_FAR ) : void | ||
aspect | float | |
near | float | |
far | float | |
Résultat | void |