public static final class OrthographicCamera.Builder extends Object implements AutoCloseable
OrthographicCamera
instances.Constructor and Description |
---|
Builder(OrthographicCamera.Builder other) |
Modifier and Type | Method and Description |
---|---|
OrthographicCamera |
build()
Returns a new orthographic camera.
|
void |
close() |
protected void |
finalize() |
OrthographicCamera.Builder |
look2D(Camera.Look2D look)
Sets up a 2D camera viewpoint, looking straight down (along the z axis to plane at z=0).
|
public Builder(@NotNull OrthographicCamera.Builder other)
public void close()
close
in interface AutoCloseable
@NotNull public OrthographicCamera.Builder look2D(@NotNull Camera.Look2D look)
look
- the description of target, scaling and orientation description for the new camera.@NotNull public OrthographicCamera build()