@EqualityReference public final class KMaterialAlbedoUntextured extends Object implements KMaterialAlbedoType
Modifier and Type | Method and Description |
---|---|
<A,E extends Throwable,V extends KMaterialAlbedoVisitorType<A,E>> |
albedoAccept(V v)
Be visited by the given generic visitor.
|
String |
codeGet() |
com.io7m.jtensors.parameterized.PVectorI4F<RSpaceRGBAType> |
getColor() |
boolean |
materialRequiresUVCoordinates() |
int |
texturesGetRequired() |
String |
toString() |
static KMaterialAlbedoUntextured |
untextured(com.io7m.jtensors.parameterized.PVectorI4F<RSpaceRGBAType> in_color)
Construct new albedo properties.
|
static KMaterialAlbedoUntextured |
white() |
public static KMaterialAlbedoUntextured untextured(com.io7m.jtensors.parameterized.PVectorI4F<RSpaceRGBAType> in_color)
in_color
- The base surface color.public static KMaterialAlbedoUntextured white()
public <A,E extends Throwable,V extends KMaterialAlbedoVisitorType<A,E>> A albedoAccept(V v) throws E extends Throwable, RException
KMaterialAlbedoType
albedoAccept
in interface KMaterialAlbedoType
A
- The return type of the visitorE
- The type of exceptions raised by the visitorV
- A specific visitor subtypev
- The visitorE
- Iff the visitor raises E
RException
- Iff the visitor raises RException
E extends Throwable
public String codeGet()
codeGet
in interface KMaterialCodeType
public com.io7m.jtensors.parameterized.PVectorI4F<RSpaceRGBAType> getColor()
public boolean materialRequiresUVCoordinates()
materialRequiresUVCoordinates
in interface KMaterialRequiresUVType
true
if the material requires UV coordinates for
rendering.public int texturesGetRequired()
texturesGetRequired
in interface KTexturesRequiredType
Copyright © 2015 <code@io7m.com> http://io7m.com