| Modifier and Type | Field and Description |
|---|---|
static int |
RELATIVE_OFFSET_ADDEND
The relative offset of the Addend parameter in the
float array. |
static int |
RELATIVE_OFFSET_FREQUENCY
The relative offset of the Frequency parameter in the
float array. |
static int |
RELATIVE_OFFSET_GAIN
The relative offset of the Gain parameter in the
float array. |
static int |
RELATIVE_OFFSET_MULTIPLIER
The relative offset of the Multiplier parameter in the
float array. |
static int |
RELATIVE_OFFSET_OCTAVES
The relative offset of the Octaves parameter in the
float array. |
static int |
SIZE
The size of a
FractionalBrownianMotionTexture in the float array. |
static int |
TYPE
The type number associated with a
FractionalBrownianMotionTexture. |
RELATIVE_OFFSET_SIZE, RELATIVE_OFFSET_TYPE| Constructor and Description |
|---|
FractionalBrownianMotionTexture(Color addend,
Color multiplier,
float frequency,
float gain,
int octaves)
Constructs a new
FractionalBrownianMotionTexture instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Compares
object to this FractionalBrownianMotionTexture instance for equality. |
Color |
getAddend()
Returns the addend assigned to this
FractionalBrownianMotionTexture instance. |
float |
getFrequency()
Returns the frequency assigned to this
FractionalBrownianMotionTexture instance. |
float |
getGain()
Returns the gain assigned to this
FractionalBrownianMotionTexture instance. |
Color |
getMultiplier()
Returns the multiplier assigned to this
FractionalBrownianMotionTexture instance. |
int |
getOctaves()
Returns the octaves assigned to this
FractionalBrownianMotionTexture instance. |
int |
getSize()
Returns the size of this
FractionalBrownianMotionTexture instance. |
int |
getType()
Returns the type of this
FractionalBrownianMotionTexture instance. |
int |
hashCode()
Returns a hash code for this
FractionalBrownianMotionTexture instance. |
boolean |
isEmissive()
Returns
true if, and only if, this FractionalBrownianMotionTexture instance is emissive, false otherwise. |
float[] |
toArray()
Returns a
float array representation of this FractionalBrownianMotionTexture instance. |
java.lang.String |
toString()
Returns a
String representation of this FractionalBrownianMotionTexture instance. |
public static final int RELATIVE_OFFSET_ADDEND
float array. The value is 2.public static final int RELATIVE_OFFSET_FREQUENCY
float array. The value is 4.public static final int RELATIVE_OFFSET_GAIN
float array. The value is 5.public static final int RELATIVE_OFFSET_MULTIPLIER
float array. The value is 3.public static final int RELATIVE_OFFSET_OCTAVES
float array. The value is 6.public static final int SIZE
FractionalBrownianMotionTexture in the float array. The size is 7.public static final int TYPE
FractionalBrownianMotionTexture. The number is 4.public FractionalBrownianMotionTexture(Color addend, Color multiplier, float frequency, float gain, int octaves)
FractionalBrownianMotionTexture instance.
If either addend or multiplier are null, a NullPointerException will be thrown.
addend - the addend to usemultiplier - the multiplier to usefrequency - the frequency to usegain - the gain to useoctaves - the octaves to usejava.lang.NullPointerException - thrown if, and only if, either addend or multiplier are nullpublic Color getAddend()
FractionalBrownianMotionTexture instance.FractionalBrownianMotionTexture instancepublic Color getMultiplier()
FractionalBrownianMotionTexture instance.FractionalBrownianMotionTexture instancepublic java.lang.String toString()
String representation of this FractionalBrownianMotionTexture instance.toString in class java.lang.ObjectString representation of this FractionalBrownianMotionTexture instancepublic boolean equals(java.lang.Object object)
object to this FractionalBrownianMotionTexture instance for equality.
Returns true if, and only if, object is an instance of FractionalBrownianMotionTexture, and their respective values are equal, false otherwise.
equals in class java.lang.Objectobject - the Object to compare to this FractionalBrownianMotionTexture instance for equalitytrue if, and only if, object is an instance of FractionalBrownianMotionTexture, and their respective values are equal, false otherwisepublic boolean isEmissive()
true if, and only if, this FractionalBrownianMotionTexture instance is emissive, false otherwise.isEmissive in interface Texturetrue if, and only if, this FractionalBrownianMotionTexture instance is emissive, false otherwisepublic float getFrequency()
FractionalBrownianMotionTexture instance.FractionalBrownianMotionTexture instancepublic float getGain()
FractionalBrownianMotionTexture instance.FractionalBrownianMotionTexture instancepublic float[] toArray()
float array representation of this FractionalBrownianMotionTexture instance.public int getOctaves()
FractionalBrownianMotionTexture instance.FractionalBrownianMotionTexture instancepublic int getSize()
FractionalBrownianMotionTexture instance.public int getType()
FractionalBrownianMotionTexture instance.public int hashCode()
FractionalBrownianMotionTexture instance.hashCode in class java.lang.ObjectFractionalBrownianMotionTexture instance