Class OrthographicCamera.Builder

java.lang.Object
com.luciad.cameras.OrthographicCamera.Builder
All Implemented Interfaces:
AutoCloseable
Enclosing class:
OrthographicCamera

public static final class OrthographicCamera.Builder extends Object implements AutoCloseable
Factory object that can create new OrthographicCamera instances.
  • Constructor Details Link icon

  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Object
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • look2D Link icon

      @NotNull public OrthographicCamera.Builder look2D(@NotNull Camera.Look2D look)
      Sets up a 2D camera viewpoint, looking straight down (along the z axis to plane at z=0).
      Parameters:
      look - the description of target, scaling and orientation description for the new camera.
      Returns:
      this builder
    • build Link icon

      @NotNull public OrthographicCamera build()
      Returns a new orthographic camera.
      Returns:
      a new orthographic camera.