@EqualityReference public final class KInstanceTranslucentRegular extends Object implements KInstanceTranslucentUnlitType, KInstanceTranslucentLitType
public static KInstanceTranslucentRegular newInstance(KMeshReadableType in_mesh, KMaterialTranslucentRegular in_material, KTransformType in_transform, com.io7m.jtensors.parameterized.PMatrixI3x3F<RSpaceTextureType,RSpaceTextureType> in_uv_matrix, KFaceSelection in_faces)
in_mesh
- The meshin_material
- The materialin_transform
- The transform applied to the instancein_uv_matrix
- The per-instance UV matrixin_faces
- The face selectionpublic KMaterialTranslucentRegular getMaterial()
public <A,E extends Throwable,V extends KInstanceVisitorType<A,E>> A instanceAccept(V v) throws E extends Throwable, RException, com.io7m.jcanephora.JCGLException
KInstanceType
instanceAccept
in interface KInstanceType
A
- The type of values returned by the visitorE
- The type of exceptions raised by the visitorV
- The type of the visitorv
- The visitorE
- If the visitor raises E
RException
- If the visitor raises RException
com.io7m.jcanephora.JCGLException
- If the visitor raises JCGLException
E extends Throwable
public KFaceSelection instanceGetFaceSelection()
instanceGetFaceSelection
in interface KInstanceType
public KMeshReadableType instanceGetMesh()
instanceGetMesh
in interface KInstanceType
public KTransformType instanceGetTransform()
instanceGetTransform
in interface KInstanceType
public com.io7m.jtensors.parameterized.PMatrixI3x3F<RSpaceTextureType,RSpaceTextureType> instanceGetUVMatrix()
instanceGetUVMatrix
in interface KInstanceType
public <A,E extends Throwable,V extends KTranslucentVisitorType<A,E>> A translucentAccept(V v) throws E extends Throwable, com.io7m.jcanephora.JCGLException, RException
KTranslucentType
translucentAccept
in interface KTranslucentType
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
com.io7m.jcanephora.JCGLException
- Iff the visitor raises JCGLException
RException
- Iff the visitor raises RException
E extends Throwable
public <A,E extends Throwable,V extends KInstanceTranslucentVisitorType<A,E>> A translucentAccept(V v) throws E extends Throwable, RException, com.io7m.jcanephora.JCGLException
KInstanceTranslucentType
translucentAccept
in interface KInstanceTranslucentType
A
- The type of values returned by the visitorE
- The type of exceptions raised by the visitorV
- The type of the visitorv
- The visitorE
- If the visitor raises E
RException
- If the visitor raises RException
com.io7m.jcanephora.JCGLException
- If the visitor raises JCGLException
E extends Throwable
public <A,E extends Throwable,V extends KInstanceTranslucentLitVisitorType<A,E>> A translucentLitAccept(V v) throws E extends Throwable, RException, com.io7m.jcanephora.JCGLException
KInstanceTranslucentLitType
translucentLitAccept
in interface KInstanceTranslucentLitType
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
- If the visitor raises RException
com.io7m.jcanephora.JCGLException
- If the visitor raises JCGLException
E extends Throwable
public <A,E extends Throwable,V extends KInstanceTranslucentUnlitVisitorType<A,E>> A translucentUnlitAccept(V v) throws E extends Throwable, RException, com.io7m.jcanephora.JCGLException
KInstanceTranslucentUnlitType
translucentUnlitAccept
in interface KInstanceTranslucentUnlitType
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
- If the visitor raises RException
com.io7m.jcanephora.JCGLException
- If the visitor raises JCGLException
E extends Throwable
Copyright © 2015 <code@io7m.com> http://io7m.com