com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Interface IRenderTarget

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable
    All Known Subinterfaces:
    IRenderTexture, IRenderWindow


    public interface IRenderTarget
    extends java.io.Closeable
    The base interface of render target
    • Method Detail

      • createViewport

        Viewport createViewport(Camera camera,
                                java.awt.Color backgroundColor,
                                RelativeRectangle rect)
        Create a viewport with specified background color and position/size in specified camera perspective.
        Parameters:
        camera - The camera
        backgroundColor - The background of the viewport
        rect - Position and size of the viewport
      • createViewport

        Viewport createViewport(Camera camera,
                                RelativeRectangle rect)
        Create a viewport with position/size in specified camera perspective.
        Parameters:
        camera - The camera
        rect - Position and size of the viewport
      • createViewport

        Viewport createViewport(Camera camera)
        Create a viewport in specified camera perspective.
        Parameters:
        camera - The camera
      • getSize

        java.awt.Dimension getSize()
        Gets the size of the render target.
      • setSize

        void setSize(java.awt.Dimension value)
        Sets the size of the render target.
        Parameters:
        value - New value
      • getViewports

        java.util.List<Viewport> getViewports()
        Gets all viewports that associated with this render target.