nw::gfx::res::ResProjectionRect::SetWithYFlip Member Function

Syntax

void SetWithYFlip(
     f32 l,
     f32 r,
     f32 b,
     f32 t
);

Arguments

Name Description
in l Left coordinate of the rectangle.
in r Right coordinate of the rectangle.
in b Bottom coordinate of the rectangle.
in t Top coordinate of the rectangle.

Return Values

None.

Description

Sets the rectangle by specifying the upper-left and lower-right corners. This function flips b and t compared to when configured from the binary. Use the SetWithoutFlip function to configure identically to the binary.


CONFIDENTIAL