public static final class R2RefractionMaskedDeltaParameters.Builder extends Object
R2RefractionMaskedDeltaParameters.
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.
public final R2RefractionMaskedDeltaParameters.Builder from(R2RefractionMaskedDeltaParametersType instance)
R2RefractionMaskedDeltaParametersType instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final R2RefractionMaskedDeltaParameters.Builder setScale(float scale)
scale attribute.
If not set, this attribute will have a default value as returned by the initializer of scale.
scale - The value for scalethis builder for use in a chained invocationpublic final R2RefractionMaskedDeltaParameters.Builder setColor(com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> color)
color attribute.
If not set, this attribute will have a default value as returned by the initializer of color.
color - The value for colorthis builder for use in a chained invocationpublic final R2RefractionMaskedDeltaParameters.Builder setSceneTexture(R2Texture2DUsableType sceneTexture)
sceneTexture attribute.sceneTexture - The value for sceneTexturethis builder for use in a chained invocationpublic final R2RefractionMaskedDeltaParameters.Builder setMaskTexture(R2Texture2DUsableType maskTexture)
maskTexture attribute.maskTexture - The value for maskTexturethis builder for use in a chained invocationpublic final R2RefractionMaskedDeltaParameters.Builder setDeltaTexture(R2Texture2DUsableType deltaTexture)
deltaTexture attribute.deltaTexture - The value for deltaTexturethis builder for use in a chained invocationpublic R2RefractionMaskedDeltaParameters build()
R2RefractionMaskedDeltaParameters.IllegalStateException - if any required attributes are missingCopyright © 2016 <code@io7m.com> http://io7m.com