#include <c4d_raytrace.h>
◆ RayCamera()
◆ m_inverse
The camera's inverse matrix.
◆ zoom
The zoom factor (focal length divided by aperture width for perspective projections).
◆ type
◆ depthoffield
The type of depth of field: DOF.
◆ front_end
The depth of field front blur end.
◆ middle
The depth of field target distance.
◆ rear_end
The depth of field rear blur end.
◆ qtvr_hstart
The horizontal start angle for QuickTime VR panorama.
◆ qtvr_hend
The horizontal end angle for QuickTime VR panorama.
◆ qtvr_vfov
The vertical field of view for QuickTime VR panorama.
◆ link
The pointer to the real camera object. Can be nullptr, always check.
◆ off
The camera offset, this is the center in screen coordinates.
◆ scale
The camera scale, this is the screen scale, including focal length, aperture etc.
◆ front_start
The depth of field front blur start.
◆ rear_start
The depth of field rear blur start.
◆ front_dlt
◆ rear_dlt
◆ xdlt
The X offset for internal render.
- Note
- This value (and ydlt) is only relevant if there is an editor rendering.
In the editor Cinema 4D has to fit in the view into the view window that might have a different x/y aspect ratio.
This means that either to the left/right or the upper/lower there will be an additional region that the final (external) render will not see.
The offset for this line is stored in either xdlt or ydlt, and the other one is 0.
◆ ydlt
The Y offset for internal render. See xdlt.
◆ motion_delta
The motion transformation matrix. This is oldmg * !newmg
. The delta time is always 1/fps.
- Note
- The VIDEOPOSTINFO::REQUEST_MOTIONMATRIX flag must be set for this value to be calculated.
◆ near_clipping
◆ kscale
The camera's image scale.
◆ kscale_z
The camera's image Z scale (for axonometric projections).
◆ far_clipping
The far clipping plane distance.
◆ near_clipping_enabled
Bool near_clipping_enabled |
◆ far_clipping_enabled
Bool far_clipping_enabled |
◆ fDOFAperture
The real depth of field (DOF) aperture.
◆ _spcInfo
Spherical camera parameters.
- Since
- R19