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.voidclose()protected voidfinalize()look2D(Camera.Look2D look) Sets up a 2D camera viewpoint, looking straight down (along the z axis to plane at z=0).
-
Constructor Details
-
Builder
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein 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.
-