@EqualityReference public final class KMaterialAlphaOneMinusDot extends Object implements KMaterialAlphaType
Modifier and Type | Method and Description |
---|---|
<A,E extends Throwable,V extends KMaterialAlphaVisitorType<A,E>> |
alphaAccept(V v)
Be visited by the given generic visitor.
|
String |
codeGet() |
float |
getOpacity() |
boolean |
materialRequiresUVCoordinates() |
static KMaterialAlphaOneMinusDot |
oneMinusDot(float in_opacity)
Construct new alpha properties.
|
int |
texturesGetRequired() |
String |
toString() |
public static KMaterialAlphaOneMinusDot oneMinusDot(float in_opacity)
in_opacity
- The global surface opacity.public <A,E extends Throwable,V extends KMaterialAlphaVisitorType<A,E>> A alphaAccept(V v) throws E extends Throwable, RException
KMaterialAlphaType
alphaAccept
in interface KMaterialAlphaType
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 float getOpacity()
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