|
hpl3:community:scripting:classes:ccamera [2015/11/05 11:28] abion47 created |
hpl3:community:scripting:classes:ccamera [2016/01/23 08:23] (current) abion47 [Functions] |
||
|---|---|---|---|
| Line 15: | Line 15: | ||
| | void | MoveRight | float afDist | | | | void | MoveRight | float afDist | | | ||
| | void | MoveUp | float afDist | | | | void | MoveUp | float afDist | | | ||
| - | | void | SetFOV | float afAngle | | | + | | void | SetFOV | float afAngle | Sets the camera's vertical field-of-view to the given value. **(Not to be confused with the value listed in the game's video settings which is the //horizontal// field-of-view.)** | |
| - | | float | GetFOV | | | | + | | float | GetFOV | | Returns the camera's vertical field-of-view. **(Not to be confused with the value listed in the game's video settings which is the //horizontal// field-of-view.)** | |
| | void | SetAspect | float afSpect | | | | void | SetAspect | float afSpect | | | ||
| | float | GetAspect | | | | | float | GetAspect | | | | ||
| Line 67: | Line 67: | ||
| | const [[cMatrixf]]& | GetProjectionMatrix | | | | | const [[cMatrixf]]& | GetProjectionMatrix | | | | ||
| | const [[cMatrixf]]& | GetMoveMatrix | | | | | const [[cMatrixf]]& | GetMoveMatrix | | | | ||
| - | |||
| ====Remarks==== | ====Remarks==== | ||
| Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! | Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! | ||