@Generated(value={"Immutables.generator","JCameraFPSStyleSnapshotType"}) public final class JCameraFPSStyleSnapshot extends Object implements JCameraFPSStyleSnapshotType
| Modifier and Type | Class and Description |
|---|---|
static class |
JCameraFPSStyleSnapshot.Builder
Builds instances of type
JCameraFPSStyleSnapshot. |
| Modifier and Type | Method and Description |
|---|---|
static JCameraFPSStyleSnapshot.Builder |
builder()
Creates a builder for
JCameraFPSStyleSnapshot. |
double |
cameraGetAngleAroundHorizontal() |
double |
cameraGetAngleAroundVertical() |
com.io7m.jtensors.core.unparameterized.vectors.Vector3D |
cameraGetForward() |
com.io7m.jtensors.core.unparameterized.vectors.Vector3D |
cameraGetPosition() |
com.io7m.jtensors.core.unparameterized.vectors.Vector3D |
cameraGetRight() |
com.io7m.jtensors.core.unparameterized.vectors.Vector3D |
cameraGetUp() |
static JCameraFPSStyleSnapshot |
copyOf(JCameraFPSStyleSnapshotType instance)
Creates an immutable copy of a
JCameraFPSStyleSnapshotType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCameraFPSStyleSnapshot that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
cameraGetAngleAroundHorizontal, cameraGetAngleAroundVertical, cameraGetRight, cameraGetUp, cameraGetForward, cameraGetPosition. |
static JCameraFPSStyleSnapshot |
of(double cameraGetAngleAroundHorizontal,
double cameraGetAngleAroundVertical,
com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetRight,
com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetUp,
com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetForward,
com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetPosition)
Construct a new immutable
JCameraFPSStyleSnapshot instance. |
String |
toString()
Prints the immutable value
JCameraFPSStyleSnapshot with attribute values. |
JCameraFPSStyleSnapshot |
withCameraGetAngleAroundHorizontal(double value)
Copy the current immutable object by setting a value for the
cameraGetAngleAroundHorizontal attribute. |
JCameraFPSStyleSnapshot |
withCameraGetAngleAroundVertical(double value)
Copy the current immutable object by setting a value for the
cameraGetAngleAroundVertical attribute. |
JCameraFPSStyleSnapshot |
withCameraGetForward(com.io7m.jtensors.core.unparameterized.vectors.Vector3D value)
Copy the current immutable object by setting a value for the
cameraGetForward attribute. |
JCameraFPSStyleSnapshot |
withCameraGetPosition(com.io7m.jtensors.core.unparameterized.vectors.Vector3D value)
Copy the current immutable object by setting a value for the
cameraGetPosition attribute. |
JCameraFPSStyleSnapshot |
withCameraGetRight(com.io7m.jtensors.core.unparameterized.vectors.Vector3D value)
Copy the current immutable object by setting a value for the
cameraGetRight attribute. |
JCameraFPSStyleSnapshot |
withCameraGetUp(com.io7m.jtensors.core.unparameterized.vectors.Vector3D value)
Copy the current immutable object by setting a value for the
cameraGetUp attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcameraMakeViewMatrix, cameraMakeViewPMatrixpublic double cameraGetAngleAroundHorizontal()
cameraGetAngleAroundHorizontal in interface JCameraFPSStyleReadableTypecameraGetAngleAroundHorizontal in interface JCameraFPSStyleSnapshotTypecameraGetAngleAroundHorizontal attributepublic double cameraGetAngleAroundVertical()
cameraGetAngleAroundVertical in interface JCameraFPSStyleReadableTypecameraGetAngleAroundVertical in interface JCameraFPSStyleSnapshotTypecameraGetAngleAroundVertical attributepublic com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetRight()
cameraGetRight in interface JCameraFPSStyleReadableTypecameraGetRight in interface JCameraFPSStyleSnapshotTypecameraGetRight attributepublic com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetUp()
cameraGetUp in interface JCameraFPSStyleReadableTypecameraGetUp in interface JCameraFPSStyleSnapshotTypecameraGetUp attributepublic com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetForward()
cameraGetForward in interface JCameraFPSStyleReadableTypecameraGetForward in interface JCameraFPSStyleSnapshotTypecameraGetForward attributepublic com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetPosition()
cameraGetPosition in interface JCameraFPSStyleReadableTypecameraGetPosition in interface JCameraFPSStyleSnapshotTypecameraGetPosition attributepublic final JCameraFPSStyleSnapshot withCameraGetAngleAroundHorizontal(double value)
cameraGetAngleAroundHorizontal attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for cameraGetAngleAroundHorizontalthis objectpublic final JCameraFPSStyleSnapshot withCameraGetAngleAroundVertical(double value)
cameraGetAngleAroundVertical attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for cameraGetAngleAroundVerticalthis objectpublic final JCameraFPSStyleSnapshot withCameraGetRight(com.io7m.jtensors.core.unparameterized.vectors.Vector3D value)
cameraGetRight attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for cameraGetRightthis objectpublic final JCameraFPSStyleSnapshot withCameraGetUp(com.io7m.jtensors.core.unparameterized.vectors.Vector3D value)
cameraGetUp attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for cameraGetUpthis objectpublic final JCameraFPSStyleSnapshot withCameraGetForward(com.io7m.jtensors.core.unparameterized.vectors.Vector3D value)
cameraGetForward attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for cameraGetForwardthis objectpublic final JCameraFPSStyleSnapshot withCameraGetPosition(com.io7m.jtensors.core.unparameterized.vectors.Vector3D value)
cameraGetPosition attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for cameraGetPositionthis objectpublic boolean equals(Object another)
JCameraFPSStyleSnapshot that have equal attribute values.public int hashCode()
cameraGetAngleAroundHorizontal, cameraGetAngleAroundVertical, cameraGetRight, cameraGetUp, cameraGetForward, cameraGetPosition.public String toString()
JCameraFPSStyleSnapshot with attribute values.public static JCameraFPSStyleSnapshot of(double cameraGetAngleAroundHorizontal, double cameraGetAngleAroundVertical, com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetRight, com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetUp, com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetForward, com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetPosition)
JCameraFPSStyleSnapshot instance.cameraGetAngleAroundHorizontal - The value for the cameraGetAngleAroundHorizontal attributecameraGetAngleAroundVertical - The value for the cameraGetAngleAroundVertical attributecameraGetRight - The value for the cameraGetRight attributecameraGetUp - The value for the cameraGetUp attributecameraGetForward - The value for the cameraGetForward attributecameraGetPosition - The value for the cameraGetPosition attributepublic static JCameraFPSStyleSnapshot copyOf(JCameraFPSStyleSnapshotType instance)
JCameraFPSStyleSnapshotType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static JCameraFPSStyleSnapshot.Builder builder()
JCameraFPSStyleSnapshot.Copyright © 2017 <code@io7m.com> http://io7m.com