Метод | Описание | |
---|---|---|
Camera ( ) : System |
Initialize in constructor anything that doesn't depend on other services.
|
|
Climb ( float d ) : void | ||
LookAt ( System.Vector3 pos, System.Vector3 target, System.Vector3 worldUp ) : void | ||
Move ( System.Vector3 v ) : void | ||
MovePlanar ( System.Vector3 v ) : void | ||
MoveTo ( System.Vector3 pos ) : void | ||
Pitch ( float angle ) : void | ||
PlanarAdjust ( IntVector2 v ) : IntVector2 |
Adjust the IntVector2 so that negative Y ("north") is towards the top of the screen
|
|
RotateZ ( float angle ) : void | ||
SetAspect ( float aspect ) : void | ||
SetLens ( float fovY, float aspect, float zn, float zf ) : void | ||
Strafe ( float d ) : void | ||
Walk ( float d ) : void |
Метод | Описание | |
---|---|---|
UpdateFrustum ( ) : void | ||
UpdateProjection ( ) : void | ||
UpdateScreenUp ( ) : void | ||
UpdateView ( ) : void |
public LookAt ( System.Vector3 pos, System.Vector3 target, System.Vector3 worldUp ) : void | ||
pos | System.Vector3 | |
target | System.Vector3 | |
worldUp | System.Vector3 | |
Результат | void |
public MovePlanar ( System.Vector3 v ) : void | ||
v | System.Vector3 | |
Результат | void |
public MoveTo ( System.Vector3 pos ) : void | ||
pos | System.Vector3 | |
Результат | void |
public PlanarAdjust ( IntVector2 v ) : IntVector2 | ||
v | IntVector2 | |
Результат | IntVector2 |
public SetLens ( float fovY, float aspect, float zn, float zf ) : void | ||
fovY | float | |
aspect | float | |
zn | float | |
zf | float | |
Результат | void |