Class FogAttribute
java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.model.gltf.scene3d.attributes.FogAttribute
- All Implemented Interfaces:
Comparable<Attribute>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final Stringfinal com.badlogic.gdx.math.Vector3 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcopy()static FogAttributecreateFog(float near, float far, float exponent) set(float near, float far, float exponent) set(com.badlogic.gdx.math.Vector3 value) Methods inherited from class Attribute
equals, equals, getAttributeAlias, getAttributeIndex, getAttributeIndex, getAttributeType, getIndex, getNumAttributes, getTypes, has, hashCode, register, toStringModifier and TypeMethodDescriptionprotected booleanbooleanstatic StringgetAttributeAlias(Bits type) static intgetAttributeIndex(Bits type) static intgetAttributeIndex(String alias) static BitsgetAttributeType(String alias) protected static intgetIndex(long oldType) static intstatic com.badlogic.gdx.utils.Array<String> getTypes()booleanhas(int index) inthashCode()protected static intCall this method to register a custom attribute type, see the wiki for an example.toString()
-
Field Details
-
FogEquationAlias
- See Also:
-
FogEquation
public static final int FogEquation -
value
public final com.badlogic.gdx.math.Vector3 value
-
-
Constructor Details
-
FogAttribute
public FogAttribute(int index)
-
-
Method Details
-
createFog
-
set
-
set
-
copy
-
compareTo
-