nw::gfx::FrustumProjectionUpdater Class

Syntax

class FrustumProjectionUpdater : public nw::gfx::CameraProjectionUpdater

Description

Class for updating projection matrices using a view frustum.

Member Constants

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

Member Variables

NW_UT_RUNTIME_TYPEINFO

Member Functions

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

Class Hierarchy

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


CONFIDENTIAL