@Generated(value={"Immutables.generator","R2FilterFogParametersType"}) public final class R2FilterFogParameters extends Object implements R2FilterFogParametersType
Modifier and Type | Class and Description |
---|---|
static class |
R2FilterFogParameters.Builder
Builds instances of type
R2FilterFogParameters . |
Modifier and Type | Method and Description |
---|---|
static R2FilterFogParameters.Builder |
builder()
Creates a builder for
R2FilterFogParameters . |
static R2FilterFogParameters |
copyOf(R2FilterFogParametersType instance)
Creates an immutable copy of a
R2FilterFogParametersType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2FilterFogParameters that have equal attribute values. |
com.io7m.jtensors.core.parameterized.vectors.PVector3D<R2SpaceRGBType> |
fogColor() |
double |
fogFarPositiveZ()
The positive eye-space Z value at which fog ends.
|
double |
fogNearPositiveZ()
The positive eye-space Z value at which fog starts.
|
int |
hashCode()
Computes a hash code from attributes:
progression , viewport , imageTexture , imageDepthTexture , fogNearPositiveZ , fogFarPositiveZ , fogColor , observerValues . |
R2Texture2DUsableType |
imageDepthTexture() |
R2Texture2DUsableType |
imageTexture() |
R2MatricesObserverValuesType |
observerValues() |
static R2FilterFogParameters |
of(R2FilterFogProgression progression,
com.io7m.jregions.core.unparameterized.areas.AreaL viewport,
R2Texture2DUsableType imageTexture,
R2Texture2DUsableType imageDepthTexture,
double fogNearPositiveZ,
double fogFarPositiveZ,
com.io7m.jtensors.core.parameterized.vectors.PVector3D<R2SpaceRGBType> fogColor,
R2MatricesObserverValuesType observerValues)
Construct a new immutable
R2FilterFogParameters instance. |
R2FilterFogProgression |
progression()
A specification of fog progression.
|
String |
toString()
Prints the immutable value
R2FilterFogParameters with attribute values. |
com.io7m.jregions.core.unparameterized.areas.AreaL |
viewport() |
R2FilterFogParameters |
withFogColor(com.io7m.jtensors.core.parameterized.vectors.PVector3D<R2SpaceRGBType> value)
Copy the current immutable object by setting a value for the
fogColor attribute. |
R2FilterFogParameters |
withFogFarPositiveZ(double value)
Copy the current immutable object by setting a value for the
fogFarPositiveZ attribute. |
R2FilterFogParameters |
withFogNearPositiveZ(double value)
Copy the current immutable object by setting a value for the
fogNearPositiveZ attribute. |
R2FilterFogParameters |
withImageDepthTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
imageDepthTexture attribute. |
R2FilterFogParameters |
withImageTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
imageTexture attribute. |
R2FilterFogParameters |
withObserverValues(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
observerValues attribute. |
R2FilterFogParameters |
withProgression(R2FilterFogProgression value)
Copy the current immutable object by setting a value for the
progression attribute. |
R2FilterFogParameters |
withViewport(com.io7m.jregions.core.unparameterized.areas.AreaL value)
Copy the current immutable object by setting a value for the
viewport attribute. |
public R2FilterFogProgression progression()
fogNearPositiveZ()
.progression
in interface R2FilterFogParametersType
public com.io7m.jregions.core.unparameterized.areas.AreaL viewport()
viewport
in interface R2FilterFogParametersType
public R2Texture2DUsableType imageTexture()
imageTexture
in interface R2FilterFogParametersType
public R2Texture2DUsableType imageDepthTexture()
imageDepthTexture
in interface R2FilterFogParametersType
public double fogNearPositiveZ()
fogNearPositiveZ
in interface R2FilterFogParametersType
public double fogFarPositiveZ()
fogFarPositiveZ
in interface R2FilterFogParametersType
public com.io7m.jtensors.core.parameterized.vectors.PVector3D<R2SpaceRGBType> fogColor()
fogColor
in interface R2FilterFogParametersType
public R2MatricesObserverValuesType observerValues()
observerValues
in interface R2FilterFogParametersType
public final R2FilterFogParameters withProgression(R2FilterFogProgression value)
progression
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for progressionthis
objectpublic final R2FilterFogParameters withViewport(com.io7m.jregions.core.unparameterized.areas.AreaL value)
viewport
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for viewportthis
objectpublic final R2FilterFogParameters withImageTexture(R2Texture2DUsableType value)
imageTexture
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for imageTexturethis
objectpublic final R2FilterFogParameters withImageDepthTexture(R2Texture2DUsableType value)
imageDepthTexture
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for imageDepthTexturethis
objectpublic final R2FilterFogParameters withFogNearPositiveZ(double value)
fogNearPositiveZ
attribute.
A value strict bits equality used to prevent copying of the same value by returning this
.value
- A new value for fogNearPositiveZthis
objectpublic final R2FilterFogParameters withFogFarPositiveZ(double value)
fogFarPositiveZ
attribute.
A value strict bits equality used to prevent copying of the same value by returning this
.value
- A new value for fogFarPositiveZthis
objectpublic final R2FilterFogParameters withFogColor(com.io7m.jtensors.core.parameterized.vectors.PVector3D<R2SpaceRGBType> value)
fogColor
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for fogColorthis
objectpublic final R2FilterFogParameters withObserverValues(R2MatricesObserverValuesType value)
observerValues
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for observerValuesthis
objectpublic boolean equals(Object another)
R2FilterFogParameters
that have equal attribute values.public int hashCode()
progression
, viewport
, imageTexture
, imageDepthTexture
, fogNearPositiveZ
, fogFarPositiveZ
, fogColor
, observerValues
.public String toString()
R2FilterFogParameters
with attribute values.public static R2FilterFogParameters of(R2FilterFogProgression progression, com.io7m.jregions.core.unparameterized.areas.AreaL viewport, R2Texture2DUsableType imageTexture, R2Texture2DUsableType imageDepthTexture, double fogNearPositiveZ, double fogFarPositiveZ, com.io7m.jtensors.core.parameterized.vectors.PVector3D<R2SpaceRGBType> fogColor, R2MatricesObserverValuesType observerValues)
R2FilterFogParameters
instance.progression
- The value for the progression
attributeviewport
- The value for the viewport
attributeimageTexture
- The value for the imageTexture
attributeimageDepthTexture
- The value for the imageDepthTexture
attributefogNearPositiveZ
- The value for the fogNearPositiveZ
attributefogFarPositiveZ
- The value for the fogFarPositiveZ
attributefogColor
- The value for the fogColor
attributeobserverValues
- The value for the observerValues
attributepublic static R2FilterFogParameters copyOf(R2FilterFogParametersType instance)
R2FilterFogParametersType
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 R2FilterFogParameters.Builder builder()
R2FilterFogParameters
.Copyright © 2017 <code@io7m.com> http://io7m.com