Method IsViewPortRectValidToRender
IsViewPortRectValidToRender(Rect)
Check if the view port rect have a positive size
Declaration
public static bool IsViewPortRectValidToRender(Rect normalizedViewPortRect)
Parameters
Type | Name | Description |
---|---|---|
Rect | normalizedViewPortRect | The rect to check |
Returns
Type | Description |
---|---|
bool | True: the rect have positive size |