@EqualityReference public final class KMaterialEmissiveConstant extends Object implements KMaterialEmissiveType
Modifier and Type | Method and Description |
---|---|
String |
codeGet() |
static KMaterialEmissiveConstant |
constant(float in_emission)
Construct new emission properties.
|
<A,E extends Throwable,V extends KMaterialEmissiveVisitorType<A,E>> |
emissiveAccept(V v)
Be visited by the given generic visitor.
|
float |
getEmission() |
boolean |
materialRequiresUVCoordinates() |
int |
texturesGetRequired() |
String |
toString() |
public static KMaterialEmissiveConstant constant(float in_emission)
in_emission
- The global surface emission.public String codeGet()
codeGet
in interface KMaterialCodeType
public <A,E extends Throwable,V extends KMaterialEmissiveVisitorType<A,E>> A emissiveAccept(V v) throws E extends Throwable, RException
KMaterialEmissiveType
emissiveAccept
in interface KMaterialEmissiveType
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 float getEmission()
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