static nw::gfx::Camera * CreateAimCamera( os::IAllocator * allocator, const nw::math::VEC3 & cameraPosition = CAMERA_POSITION, const nw::math::VEC3 & targetPosition = TARGET_POSITION, f32 nearClip = NEAR_CLIP, f32 farClip = FAR_CLIP, f32 fovyRadian = FOVY_RADIAN, nw::math::PivotDirection pivotDirection = nw::math::PIVOT_UPSIDE_TO_TOP, f32 wScale = 0.0f );
| Name | Description | |
|---|---|---|
| in | allocator | Allocator used for generation. |
| in | cameraPosition |
Camera position coordinates. |
| in | targetPosition | Camera target coordinates. |
| in | nearClip | Near clip value. |
| in | farClip | Far clip value. |
| in | fovyRadian | FOV Y direction value. |
| in | pivotDirection | Upward direction of the screen. |
| in | wScale | wScale value. |
Creates a camera.
CONFIDENTIAL