@Generated(value={"Immutables.generator","R2RefractionMaskedDeltaParametersType"}) public final class R2RefractionMaskedDeltaParameters extends Object implements R2RefractionMaskedDeltaParametersType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2RefractionMaskedDeltaParameters.Builder
Builds instances of type
R2RefractionMaskedDeltaParameters. |
| Modifier and Type | Method and Description |
|---|---|
static R2RefractionMaskedDeltaParameters.Builder |
builder()
Creates a builder for
R2RefractionMaskedDeltaParameters. |
com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> |
color() |
static R2RefractionMaskedDeltaParameters |
copyOf(R2RefractionMaskedDeltaParametersType instance)
Creates an immutable copy of a
R2RefractionMaskedDeltaParametersType value. |
R2Texture2DUsableType |
deltaTexture() |
boolean |
equals(Object another)
This instance is equal to all instances of
R2RefractionMaskedDeltaParameters that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
scale, color, sceneTexture, maskTexture, deltaTexture. |
R2Texture2DUsableType |
maskTexture() |
static R2RefractionMaskedDeltaParameters |
of(float scale,
com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> color,
R2Texture2DUsableType sceneTexture,
R2Texture2DUsableType maskTexture,
R2Texture2DUsableType deltaTexture)
Construct a new immutable
R2RefractionMaskedDeltaParameters instance. |
float |
scale()
The scale value applied to vectors for the refraction effect.
|
R2Texture2DUsableType |
sceneTexture() |
String |
toString()
Prints the immutable value
R2RefractionMaskedDeltaParameters with attribute values. |
R2RefractionMaskedDeltaParameters |
withColor(com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> value)
Copy the current immutable object by setting a value for the
color attribute. |
R2RefractionMaskedDeltaParameters |
withDeltaTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
deltaTexture attribute. |
R2RefractionMaskedDeltaParameters |
withMaskTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
maskTexture attribute. |
R2RefractionMaskedDeltaParameters |
withScale(float value)
Copy the current immutable object by setting a value for the
scale attribute. |
R2RefractionMaskedDeltaParameters |
withSceneTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
sceneTexture attribute. |
public float scale()
scale in interface R2RefractionMaskedDeltaParametersTypepublic com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> color()
color in interface R2RefractionMaskedDeltaParametersTypepublic R2Texture2DUsableType sceneTexture()
sceneTexture in interface R2RefractionMaskedDeltaParametersTypepublic R2Texture2DUsableType maskTexture()
maskTexture in interface R2RefractionMaskedDeltaParametersTypepublic R2Texture2DUsableType deltaTexture()
deltaTexture in interface R2RefractionMaskedDeltaParametersTypepublic final R2RefractionMaskedDeltaParameters withScale(float value)
scale attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for scalethis objectpublic final R2RefractionMaskedDeltaParameters withColor(com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> value)
color attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for colorthis objectpublic final R2RefractionMaskedDeltaParameters withSceneTexture(R2Texture2DUsableType value)
sceneTexture attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for sceneTexturethis objectpublic final R2RefractionMaskedDeltaParameters withMaskTexture(R2Texture2DUsableType value)
maskTexture attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for maskTexturethis objectpublic final R2RefractionMaskedDeltaParameters withDeltaTexture(R2Texture2DUsableType value)
deltaTexture attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for deltaTexturethis objectpublic boolean equals(Object another)
R2RefractionMaskedDeltaParameters that have equal attribute values.public int hashCode()
scale, color, sceneTexture, maskTexture, deltaTexture.public String toString()
R2RefractionMaskedDeltaParameters with attribute values.public static R2RefractionMaskedDeltaParameters of(float scale, com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> color, R2Texture2DUsableType sceneTexture, R2Texture2DUsableType maskTexture, R2Texture2DUsableType deltaTexture)
R2RefractionMaskedDeltaParameters instance.scale - The value for the scale attributecolor - The value for the color attributesceneTexture - The value for the sceneTexture attributemaskTexture - The value for the maskTexture attributedeltaTexture - The value for the deltaTexture attributepublic static R2RefractionMaskedDeltaParameters copyOf(R2RefractionMaskedDeltaParametersType instance)
R2RefractionMaskedDeltaParametersType 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 R2RefractionMaskedDeltaParameters.Builder builder()
R2RefractionMaskedDeltaParameters.Copyright © 2016 <code@io7m.com> http://io7m.com