Uses of Class
com.aspose.threed.RelativeRectangle
-
-
Uses of RelativeRectangle in com.aspose.threed
Methods in com.aspose.threed that return RelativeRectangle Modifier and Type Method Description RelativeRectangle
RelativeRectangle. clone()
static RelativeRectangle
RelativeRectangle. fromScale(float scaleX, float scaleY, float scaleWidth, float scaleHeight)
Construct aRelativeRectangle
with all offset fields zero and scale fields from given parameters.RelativeRectangle
Viewport. getArea()
Gets the area of the viewport in render target.Methods in com.aspose.threed with parameters of type RelativeRectangle Modifier and Type Method Description void
RelativeRectangle. copyFrom(RelativeRectangle src)
Viewport
IRenderTarget. createViewport(Camera camera, RelativeRectangle rect)
Create a viewport with position/size in specified camera perspective.Viewport
IRenderTarget. createViewport(Camera camera, java.awt.Color backgroundColor, RelativeRectangle rect)
Create a viewport with specified background color and position/size in specified camera perspective.void
Viewport. setArea(RelativeRectangle value)
Sets the area of the viewport in render target.
-