@EqualityReference public final class KInstanceOpaqueRegular extends Object implements KInstanceOpaqueType
Modifier and Type | Method and Description |
---|---|
KMaterialOpaqueRegular |
getMaterial() |
<A,E extends Throwable,V extends KInstanceVisitorType<A,E>> |
instanceAccept(V v)
Accept a visitor.
|
KFaceSelection |
instanceGetFaceSelection() |
KMeshReadableType |
instanceGetMesh() |
KTransformType |
instanceGetTransform() |
com.io7m.jtensors.parameterized.PMatrixI3x3F<RSpaceTextureType,RSpaceTextureType> |
instanceGetUVMatrix() |
static KInstanceOpaqueRegular |
newInstance(KMeshReadableType in_mesh,
KMaterialOpaqueRegular in_material,
KTransformType in_transform,
com.io7m.jtensors.parameterized.PMatrixI3x3F<RSpaceTextureType,RSpaceTextureType> in_uv_matrix,
KFaceSelection in_faces)
Construct a new opaque instance.
|
<A,E extends Throwable,V extends KInstanceOpaqueVisitorType<A,E>> |
opaqueAccept(V v)
Accept a visitor.
|
String |
toString() |
public static KInstanceOpaqueRegular newInstance(KMeshReadableType in_mesh, KMaterialOpaqueRegular 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 KMaterialOpaqueRegular 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 KInstanceOpaqueVisitorType<A,E>> A opaqueAccept(V v) throws E extends Throwable, RException, com.io7m.jcanephora.JCGLException
KInstanceOpaqueType
opaqueAccept
in interface KInstanceOpaqueType
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
Copyright © 2015 <code@io7m.com> http://io7m.com