| Modifier and Type | Method and Description |
|---|---|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.addAttribute(java.lang.String attributeName,
DefaultAccessorModel attribute)
Add the given
AccessorModel as an attribute to the
MeshPrimitiveModel that is currently being built. |
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.addNormals3D(java.nio.FloatBuffer data)
Add the given data as the "NORMAL" attribute of the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.addNormals4D(java.nio.FloatBuffer data)
Add the given data as the "NORMAL" attribute of the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.addPositions3D(java.nio.FloatBuffer data)
Add the given data as the "POSITION" attribute of the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.addPositions4D(java.nio.FloatBuffer data)
Add the given data as the "POSITION" attribute of the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.addTangents3D(java.nio.FloatBuffer data)
Add the given data as the "TANGENT" attribute of the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.addTangents4D(java.nio.FloatBuffer data)
Add the given data as the "TANGENT" attribute of the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.addTexCoords02D(java.nio.FloatBuffer data)
Add the given data as the "TEXCOORD_0" attribute of the mesh primitive.
|
static MeshPrimitiveBuilder |
MeshPrimitiveBuilder.create()
Create a new
MeshPrimitiveBuilder |
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.setByteIndices(java.nio.ByteBuffer indices)
Set the given indices as the indices for the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.setIndices(DefaultAccessorModel indices)
Set the indices of the currently built
MeshPrimitiveModel
to the given AccessorModel |
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.setIndicesAs(java.nio.IntBuffer indices,
int componentType)
Set the given indices as the indices for the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.setIntIndices(java.nio.IntBuffer indices)
Set the given indices as the indices for the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.setIntIndicesAsByte(java.nio.IntBuffer indices)
Set the given indices as the indices for the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.setIntIndicesAsShort(java.nio.IntBuffer indices)
Set the given indices as the indices for the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.setLines()
Set the
rendering mode to
"lines" |
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.setPoints()
Set the
rendering mode to
"points" |
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.setShortIndices(java.nio.ShortBuffer indices)
Set the given indices as the indices for the mesh primitive.
|
MeshPrimitiveBuilder |
MeshPrimitiveBuilder.setTriangles()
Set the
rendering mode to
"triangles" |
Copyright © 2022. All Rights Reserved.