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
Fields inherited from class gaiasky.util.gdx.shader.attribute.ColorAttribute
Ambient, AmbientAlias, AmbientLight, AmbientLightAlias, color, Diffuse, DiffuseAlias, DiffuseScattering, DiffuseScatteringAlias, Emissive, EmissiveAlias, Fog, FogAlias, Metallic, MetallicAlias, Roughness, RoughnessAlias, Specular, SpecularAlias
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
static PBRColorAttribute
createBaseColorFactor
(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, hashCode
Methods 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:
copy
in classColorAttribute
- Returns:
- An exact copy of this attribute
-