nw::demo::Utility Classclass Utility
Collection of utility functions used by demos.
AnimationType
|
Indicates the animation type. |
|---|
| S |
CAMERA_POSITION
|
const nw::math::VEC3 |
The default value for camera position. |
|---|---|---|---|
| S |
TARGET_POSITION
|
const nw::math::VEC3 |
The default value for the camera target. |
| S |
NEAR_CLIP
|
const f32 |
The default value for the near clipping plane. |
| S |
FAR_CLIP
|
const f32 |
The default value for the far clipping plane. |
| S |
FOVY_RADIAN
|
const f32 |
Default value for the FOV along the y-axis. |
| S |
PROJECTION_CENTER
|
const nw::math::VEC2 |
The camera projection center position. |
| S |
PROJECTION_HEIGHT
|
const f32 |
The camera projection height. |
| Initialization | ||
|---|---|---|
| S |
InitializeGraphicsDrawing
|
Initializes the GraphicsDrawing. |
| Files | ||
| S |
LoadFile
|
Loads files. |
| S |
LoadResources
|
Loads graphics resources. |
| Cameras | ||
| S |
CreateCamera
|
Creates a camera. |
| S |
CreateAimCamera
|
Creates a camera. |
| S |
CreateFrustumCamera
|
Creates a camera. |
| S |
CreateOrthoCamera
|
Creates a camera. |
| S |
CreateStereoCameras
|
Creates the base camera and the right/left eye cameras for stereoscopic vision. |
| S |
SetCameraAspectRatio
|
Configures the camera's aspect ratio. |
| Screen Buffer Creation | ||
| S |
CreateUpperScreenBuffer
|
Creates a screen buffer for the upper screen. |
| S |
CreateLowerScreenBuffer
|
Creates a screen buffer for the lower screen. |
| Scene Node Related Functions | ||
| S |
CreateSceneNode
|
Creates an instance of the scene node from the scene object resource. |
| S |
FindObjectByName
|
Searches for the scene object with the specified name. |
| Animation | ||
| S |
FindResAnimByName
|
Searches for the animation resource with the specified name. |
| S |
BindAnimation
|
Binds an animation. |
| S |
BindAnimationBlender
|
Binds an animation blender. |
| S |
BindAnimationByName
|
Binds the animation with the specified name. |
| S |
GetAnimGroup
|
Gets the animation group. |
| Fonts | ||
| S |
InitializeSharedFont
|
Initializes shared fonts. |
| Getting States | ||
| S |
IsTerminating
|
Gets whether the demo has terminated. |
CONFIDENTIAL