Package com.luciad.cameras
Class OrthographicCamera.Builder
java.lang.Object
com.luciad.cameras.OrthographicCamera.Builder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
OrthographicCamera
Factory object that can create new
OrthographicCamera
instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a new orthographic camera.void
close()
protected void
finalize()
look2D
(Camera.Look2D look) Sets up a 2D camera viewpoint, looking straight down (along the z axis to plane at z=0).
-
Constructor Details
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
look2D
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
Returns a new orthographic camera.- Returns:
- a new orthographic camera.
-