2. Cam Area
u32 | cam_tag |
u32 | this_cam_index |
u32 | cam_size |
u32 | cam_name_index |
u32 | cam_type |
float | cam_near_clip |
float | cam_far_clip |
float | cam_right_clip |
float | cam_left_clip |
float | cam_top_clip |
float | cam_bottom_clip |
float | cam_fovy |
float | cam_aspect |
float | cam_scale |
u32 | cam_lookat_obj |
u32 | cam_eye_obj |
u32 | cam_up_obj |
u32 | nintendo_extension_block_size |
u32 | user_extension_block_size |
|
|
|
Figure: Cam Area Memory Map
u32 cam_tag |
Tag indicating Cam. Set the following.
TAG_CAM 0x000e0100 |
u32 this_cam_index | Index number of Cam |
u32 cam_size | Size of Cam |
u32 cam_name_index | Index number of camera name in NameList |
u32 cam_type |
Specifies the camera type. The following are currently defined.
CAM_TYPE_PERSP 0x00000000 CAM_TYPE_ORTHO 0x00000001 CAM_TYPE_PERSP is a perspective camera. CAM_TYPE_ORTHO is an ortho camera. |
float cam_near_clip | near clipping plane |
float cam_far_clip | far clipping plane |
float cam_right_clip | right clipping plane |
float cam_left_clip | left clipping plane |
float cam_top_clip | top clipping plane |
float cam_bottom_clip | bottom clipping plane |
float cam_fovy | fovy value |
float cam_aspect | aspect value |
flaot cam_scale | scale value |
u32 cam_lookat_obj | ObjList index of camera's close-up point of view Obj. |
u32 cam_eye_obj | ObjList index of camera's point of view Obj. |
u32 cam_up_obj | ObjList index of camera's upward-facing Obj. |
u32 nintendo_extension_block_size | Nintendo extension block size |
u32 user_extension_block_size | User extension block size |
NintendoExtensionBlock | Nintendo extension block |
UserExtensionBlock | User extension block |