SoCameraGetViewportBounds Method |
Returns the viewport region this camera would use to render into the given viewport region, accounting for cropping.
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public SbViewportRegion GetViewportBounds(
SbViewportRegion region
)
Public Function GetViewportBounds (
region As SbViewportRegion
) As SbViewportRegion
public:
SbViewportRegion GetViewportBounds(
SbViewportRegion region
)
member GetViewportBounds :
region : SbViewportRegion -> SbViewportRegion
Parameters
- region
- Type: OIV.InventorSbViewportRegion
Return Value
Type:
SbViewportRegionRemarks See Also