Class MirrorSourceAttribute
java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.model.gltf.scene3d.attributes.MirrorSourceAttribute
- All Implemented Interfaces:
Comparable<Attribute>
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.badlogic.gdx.math.Vector3final com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> static final intstatic final String -
Constructor Summary
Constructors -
Method Summary
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
-
TypeAlias
- See Also:
-
Type
public static final int Type -
textureDescription
public final com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> textureDescription -
normal
public final com.badlogic.gdx.math.Vector3 normal
-
-
Constructor Details
-
MirrorSourceAttribute
public MirrorSourceAttribute()
-
-
Method Details
-
compareTo
-
copy
-
set
public MirrorSourceAttribute set(com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> textureDescription, com.badlogic.gdx.math.Vector3 normal)
-