public static final class Matrix4x4F.Builder extends Object
Matrix4x4F.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method | Description |
|---|---|---|
Matrix4x4F |
build() |
Builds a new
Matrix4x4F. |
Matrix4x4F.Builder |
from(Matrix4x4FType instance) |
Fill a builder with attribute values from the provided
com.io7m.jtensors.core.unparameterized.matrices.Matrix4x4FType instance. |
Matrix4x4F.Builder |
from(MatrixReadable4x4FType instance) |
Fill a builder with attribute values from the provided
com.io7m.jtensors.core.unparameterized.matrices.MatrixReadable4x4FType instance. |
Matrix4x4F.Builder |
setR0c0(float r0c0) |
Initializes the value for the
r0c0 attribute. |
Matrix4x4F.Builder |
setR0c1(float r0c1) |
Initializes the value for the
r0c1 attribute. |
Matrix4x4F.Builder |
setR0c2(float r0c2) |
Initializes the value for the
r0c2 attribute. |
Matrix4x4F.Builder |
setR0c3(float r0c3) |
Initializes the value for the
r0c3 attribute. |
Matrix4x4F.Builder |
setR1c0(float r1c0) |
Initializes the value for the
r1c0 attribute. |
Matrix4x4F.Builder |
setR1c1(float r1c1) |
Initializes the value for the
r1c1 attribute. |
Matrix4x4F.Builder |
setR1c2(float r1c2) |
Initializes the value for the
r1c2 attribute. |
Matrix4x4F.Builder |
setR1c3(float r1c3) |
Initializes the value for the
r1c3 attribute. |
Matrix4x4F.Builder |
setR2c0(float r2c0) |
Initializes the value for the
r2c0 attribute. |
Matrix4x4F.Builder |
setR2c1(float r2c1) |
Initializes the value for the
r2c1 attribute. |
Matrix4x4F.Builder |
setR2c2(float r2c2) |
Initializes the value for the
r2c2 attribute. |
Matrix4x4F.Builder |
setR2c3(float r2c3) |
Initializes the value for the
r2c3 attribute. |
Matrix4x4F.Builder |
setR3c0(float r3c0) |
Initializes the value for the
r3c0 attribute. |
Matrix4x4F.Builder |
setR3c1(float r3c1) |
Initializes the value for the
r3c1 attribute. |
Matrix4x4F.Builder |
setR3c2(float r3c2) |
Initializes the value for the
r3c2 attribute. |
Matrix4x4F.Builder |
setR3c3(float r3c3) |
Initializes the value for the
r3c3 attribute. |
public final Matrix4x4F.Builder from(Matrix4x4FType instance)
com.io7m.jtensors.core.unparameterized.matrices.Matrix4x4FType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final Matrix4x4F.Builder from(MatrixReadable4x4FType instance)
com.io7m.jtensors.core.unparameterized.matrices.MatrixReadable4x4FType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final Matrix4x4F.Builder setR0c0(float r0c0)
r0c0 attribute.r0c0 - The value for r0c0this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR0c1(float r0c1)
r0c1 attribute.r0c1 - The value for r0c1this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR0c2(float r0c2)
r0c2 attribute.r0c2 - The value for r0c2this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR0c3(float r0c3)
r0c3 attribute.r0c3 - The value for r0c3this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR1c0(float r1c0)
r1c0 attribute.r1c0 - The value for r1c0this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR1c1(float r1c1)
r1c1 attribute.r1c1 - The value for r1c1this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR1c2(float r1c2)
r1c2 attribute.r1c2 - The value for r1c2this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR1c3(float r1c3)
r1c3 attribute.r1c3 - The value for r1c3this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR2c0(float r2c0)
r2c0 attribute.r2c0 - The value for r2c0this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR2c1(float r2c1)
r2c1 attribute.r2c1 - The value for r2c1this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR2c2(float r2c2)
r2c2 attribute.r2c2 - The value for r2c2this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR2c3(float r2c3)
r2c3 attribute.r2c3 - The value for r2c3this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR3c0(float r3c0)
r3c0 attribute.r3c0 - The value for r3c0this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR3c1(float r3c1)
r3c1 attribute.r3c1 - The value for r3c1this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR3c2(float r3c2)
r3c2 attribute.r3c2 - The value for r3c2this builder for use in a chained invocationpublic final Matrix4x4F.Builder setR3c3(float r3c3)
r3c3 attribute.r3c3 - The value for r3c3this builder for use in a chained invocationpublic Matrix4x4F build()
Matrix4x4F.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com