Class PBRColorAttribute
java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.shader.attribute.ColorAttribute
gaiasky.util.gdx.model.gltf.scene3d.attributes.PBRColorAttribute
- All Implemented Interfaces:
Comparable<Attribute>
-
Field Summary
FieldsFields inherited from class gaiasky.util.gdx.shader.attribute.ColorAttribute
Ambient, AmbientAlias, AmbientLight, AmbientLightAlias, color, Diffuse, DiffuseAlias, Emissive, EmissiveAlias, Fog, FogAlias, Metallic, MetallicAlias, Roughness, RoughnessAlias, Specular, SpecularAlias -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()static PBRColorAttributecreateBaseColorFactor(com.badlogic.gdx.graphics.Color color) Methods inherited from class gaiasky.util.gdx.shader.attribute.ColorAttribute
compareTo, createAmbient, createAmbient, createAmbientLight, createAmbientLight, createDiffuse, createDiffuse, createEmissive, createEmissive, createFog, createFog, createMetallic, createMetallic, createRoughness, createRoughness, createSpecular, createSpecular, hashCodeMethods inherited from class gaiasky.util.gdx.shader.attribute.Attribute
equals, equals, getAttributeAlias, getAttributeIndex, getAttributeIndex, getAttributeType, getIndex, getNumAttributes, getTypes, has, register, toString
-
Field Details
-
BaseColorFactorAlias
- See Also:
-
BaseColorFactor
public static final int BaseColorFactor
-
-
Constructor Details
-
PBRColorAttribute
public PBRColorAttribute(int index, com.badlogic.gdx.graphics.Color color)
-
-
Method Details
-
createBaseColorFactor
-
copy
- Overrides:
copyin classColorAttribute- Returns:
- An exact copy of this attribute
-