nw::gfx::CameraProjectionUpdater Class

Syntax

class CameraProjectionUpdater : public nw::gfx::GfxObject

Description

Interface that updates projection matrices.

The ICameraProjectionUpdater class has been eliminated and replaced by CameraProjectionUpdater.

Member Constants

protected S PROJECTION_NEAR_CLIP const float The default value for the near clipping plane.
protected S PROJECTION_FAR_CLIP const float The default value for the far clipping plane.
protected S PROJECTION_FOVY_RADIAN const float Default value for the FOV along the y-axis.
protected S PROJECTION_ASPECT_RATIO const float The default value for the aspect ratio.
protected S PROJECTION_CENTER const math::VEC2 Default value for center coordinates in near clipping plane
protected S PROJECTION_HEIGHT const float Default value for height in the near clipping plane.
protected S PROJECTION_RECT const ResProjectionRect Default value for rectangle displayed in the near clipping plane

Member Variables

NW_UT_RUNTIME_TYPEINFO

Member Functions

Projection matrix
PV Update Updates the projection matrix.
Pivot
SetPivotDirection Sets the upward direction of the screen.
GetPivotDirection Gets the upward direction of the screen.
Resources
PV GetResource Gets the projection matrix updater resource.
Textures
TextureScale Gets the texture scale.
TextureTranslate Gets the translation of a texture.
Create/Destroy
Destroy Destroys an object.(Derived from GfxObject.)
Other
IsDynamic Gets a flag indicating whether an updater was generated dynamically.
PV Kind Gets the ProjectionUpdater type.
protected CameraProjectionUpdater Constructor.
protected V ~CameraProjectionUpdater Destructor.

Class Hierarchy

nw::gfx::GfxObject
  nw::gfx::CameraProjectionUpdater


CONFIDENTIAL