GsRVIEW2Viewpoint position (REFERENCE-type) | |||||||||
Members
ExplanationGsRVIEW2 holds information about the viewpoint and is set by the GsSetRefView2() function.vpx, vpy, vpz specify the viewpoint coordinates in the coordinate system specified by super. When the Z-axis is a vector from the viewpoint to the reference point, rz specifies the viewpoint twist, or screen inclination against the Z-axis. It is represented as an integer, with 4096 equivalent to one degree. The viewpoint and reference point coordinate systems are set in super. As an example of using this function, an airplane cockpit view can be realized simply by setting super to the airplane coordinate system. |