nw::demo::Utility Classclass Utility
Collection of utility functions used by demos.
| AnimationType | Indicates the animation type. |
|---|
| S | CAMERA_POSITION | The default value for camera position. |
|---|---|---|
| S | TARGET_POSITION | The default value for the camera target. |
| S | NEAR_CLIP | The default value for the near clipping plane. |
| S | FAR_CLIP | The default value for the far clipping plane. |
| S | FOVY_RADIAN | Default value for the FOV along the y-axis. |
| S |
PROJECTION_CENTER
|
The camera projection center position. |
| S |
PROJECTION_HEIGHT
|
The camera projection height. |
| File | ||
|---|---|---|
| S | LoadFile | Loads files. |
| S | LoadResources | Loads graphics resources. |
| Camera | ||
| 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. |
| Getting States | ||
| S | IsTerminating | Gets whether the demo has terminated. |
CONFIDENTIAL