Skip to main content

Vertex

Complete API reference for Vertex, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Vertex

Component: no


public class Vertex

Constructors

SignatureDescription
Vertex(Vertex)Executes Vertex and returns after the underlying engine call finishes.
Vertex(Engine)Executes Vertex and returns after the underlying engine call finishes.
Vertex()Creates a new instance of Vertex.

Attributes

NameTypeDescription
vertexVertexRepresents the vertex value stored on this instance. Read or assign to update the property.
CUBEintRepresents the CUBE value stored on this instance. Read or assign to update the property.
SPHEREintRepresents the SPHERE value stored on this instance. Read or assign to update the property.
CONEintRepresents the CONE value stored on this instance. Read or assign to update the property.
CYLINDERintRepresents the CYLINDER value stored on this instance. Read or assign to update the property.
CIRCLEintRepresents the CIRCLE value stored on this instance. Read or assign to update the property.
TORUSintRepresents the TORUS value stored on this instance. Read or assign to update the property.
SQUAREintRepresents the SQUARE value stored on this instance. Read or assign to update the property.
SQUARE90intRepresents the SQUARE90 value stored on this instance. Read or assign to update the property.
CAPSULEintRepresents the CAPSULE value stored on this instance. Read or assign to update the property.
HALF_CAPSULEintRepresents the HALF_CAPSULE value stored on this instance. Read or assign to update the property.
SPHERE_LOWPOLYintRepresents the SPHERE_LOWPOLY value stored on this instance. Read or assign to update the property.
RENDER_TARGETintRepresents the RENDER_TARGET value stored on this instance. Read or assign to update the property.

Methods

SignatureReturnsDescription
getVertices()List<Vector3>Returns the current vertices.
getVerticesArray()float[]Returns the current vertices array.
getVerticesBuffer()NativeFloatBufferReturns the current vertices buffer.
setVertices(List<Vector3>)voidSets or updates the vertices.
setVertices(float[])voidSets or updates the vertices.
setVertices(NativeFloatBuffer)voidSets or updates the vertices.
setVertices(Vector3Buffer)voidSets or updates the vertices.
getTriangles()List<Vector3>Returns the current triangles.
getTrianglesArray()int[]Returns the current triangles array.
getTrianglesBuffer()NativeIntBufferReturns the current triangles buffer.
setTriangles(List<Vector3>)voidSets or updates the triangles.
setTriangles(int[])voidSets or updates the triangles.
setTriangles(NativeIntBuffer)voidSets or updates the triangles.
setTriangles(Point3Buffer)voidSets or updates the triangles.
getNormals()List<Vector3>Returns the current normals.
getNormalsArray()float[]Returns the current normals array.
getNormalsBuffer()NativeFloatBufferReturns the current normals buffer.
setNormals(List<Vector3>)voidSets or updates the normals.
setNormals(float[])voidSets or updates the normals.
setNormals(NativeFloatBuffer)voidSets or updates the normals.
setNormals(Vector3Buffer)voidSets or updates the normals.
getUVs()List<Vector2>Returns the current uvs.
getUVsArray()float[]Returns the current uvs array.
getUVsBuffer()NativeFloatBufferReturns the current uvs buffer.
setUVs(List<Vector2>)voidSets or updates the uvs.
setUVs(float[])voidSets or updates the uvs.
setUVs(NativeFloatBuffer)voidSets or updates the uvs.
setUVs(Vector2Buffer)voidSets or updates the uvs.
getJoints()List<Vector3>Returns the current joints.
getJointsArray()float[]Returns the current joints array.
getJointsBuffer()NativeFloatBufferReturns the current joints buffer.
setJoints(List<Vector3>)voidSets or updates the joints.
setJoints(float[])voidSets or updates the joints.
setJoints(NativeFloatBuffer)voidSets or updates the joints.
setJoints(Vector3Buffer)voidSets or updates the joints.
getWeights()List<Vector3>Returns the current weights.
getWeightsArray()float[]Returns the current weights array.
getWeightsBuffer()NativeFloatBufferReturns the current weights buffer.
setWeights(List<Vector3>)voidSets or updates the weights.
setWeights(float[])voidSets or updates the weights.
setWeights(NativeFloatBuffer)voidSets or updates the weights.
setWeights(Vector3Buffer)voidSets or updates the weights.
traceLaser(Transform, Ray)LaserHitPerforms the traceLaser operation using the provided parameters (transform, ray).
traceLaser(Transform, Ray, RayMode)LaserHitPerforms the traceLaser operation using the provided parameters (transform, ray, rayMode).
traceLaser(Transform, Ray, RayMode, boolean)LaserHitPerforms the traceLaser operation using the provided parameters (transform, ray, rayMode, backfaceCulling).
traceLaserAsync(Transform, Ray, AsyncLaserListener)voidPerforms the traceLaserAsync operation using the provided parameters (transform, ray, asyncLaserListener).
traceLaserAsync(Transform, Ray, AsyncLaserListener, RayMode)voidPerforms the traceLaserAsync operation using the provided parameters (transform, ray, asyncLaserListener, rayMode).
traceLaserAsync(Transform, Ray, AsyncLaserListener, RayMode, boolean)voidPerforms the traceLaserAsync operation using the provided parameters (transform, ray, asyncLaserListener, rayMode, backfaceCulling).
apply()voidExecutes apply and returns after the underlying engine call finishes.
applyAsync()voidExecutes applyAsync and returns after the underlying engine call finishes.
getBoundingBox()AABBReturns the current bounding box.
recalculateBoundingBox()AABBExecutes recalculateBoundingBox and returns after the underlying engine call finishes.

Static Methods

SignatureReturnsDescription
loadFile(VertexFile)VertexLoads file into the object.
loadFile(File)VertexLoads file into the object.
loadFile(InputStream)VertexLoads file into the object.
loadPrimitive(int)VertexLoads primitive into the object.