Overview
Describes the frame rendering information. This struct is passed by a game app after obtaining the frame properties. The camera matrix in this parameter is typically used to optimize the image quality effect for render layer load-reduction schemes.
Since: 5.0.0(12)
Related module: GraphicsAccelerate
Header file: opengtx_base.h
[h2]mainCameraPosition
OpenGTX_Vector3 OpenGTX_FrameRenderInfo::mainCameraPosition
Description
Position of the main camera. The value range of x, y, and z is [-360, 360]. If the value is out of the range, it does not take effect and error code 401 is returned. Unit: deg
[h2]mainCameraRotate
OpenGTX_Vector3 OpenGTX_FrameRenderInfo::mainCameraRotate
Description
Rotation of the main camera, including yaw, pitch, and roll. The value range of x, y, and z is [-360, 360]. If the value is out of the range, it does not take effect and error code 401 is returned. Unit: deg