Skip to main content
API Reference NianticSpatial.NSDK.AR.XRSubsystems XRDetectedObject

CalculateRect


Declaration

public abstract Rect CalculateRect(int viewportWidth, int viewportHeight, ScreenOrientation orientation)

Parameters

NameTypeSummary
viewportWidthint
The pixel width of the viewport.
viewportHeightint
The pixel height of the viewport.
orientationScreenOrientation
The orientation of the viewport.