Vertex
Complete API reference for Vertex, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: Vertex
Component: no
public class Vertex
Constructors
| Signature | Description |
|---|---|
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
| Name | Type | Description |
|---|---|---|
vertex | Vertex | Represents the vertex value stored on this instance. Read or assign to update the property. |
CUBE | int | Represents the CUBE value stored on this instance. Read or assign to update the property. |
SPHERE | int | Represents the SPHERE value stored on this instance. Read or assign to update the property. |
CONE | int | Represents the CONE value stored on this instance. Read or assign to update the property. |
CYLINDER | int | Represents the CYLINDER value stored on this instance. Read or assign to update the property. |
CIRCLE | int | Represents the CIRCLE value stored on this instance. Read or assign to update the property. |
TORUS | int | Represents the TORUS value stored on this instance. Read or assign to update the property. |
SQUARE | int | Represents the SQUARE value stored on this instance. Read or assign to update the property. |
SQUARE90 | int | Represents the SQUARE90 value stored on this instance. Read or assign to update the property. |
CAPSULE | int | Represents the CAPSULE value stored on this instance. Read or assign to update the property. |
HALF_CAPSULE | int | Represents the HALF_CAPSULE value stored on this instance. Read or assign to update the property. |
SPHERE_LOWPOLY | int | Represents the SPHERE_LOWPOLY value stored on this instance. Read or assign to update the property. |
RENDER_TARGET | int | Represents the RENDER_TARGET value stored on this instance. Read or assign to update the property. |
Methods
| Signature | Returns | Description |
|---|---|---|
getVertices() | List<Vector3> | Returns the current vertices. |
getVerticesArray() | float[] | Returns the current vertices array. |
getVerticesBuffer() | NativeFloatBuffer | Returns the current vertices buffer. |
setVertices(List<Vector3>) | void | Sets or updates the vertices. |
setVertices(float[]) | void | Sets or updates the vertices. |
setVertices(NativeFloatBuffer) | void | Sets or updates the vertices. |
setVertices(Vector3Buffer) | void | Sets or updates the vertices. |
getTriangles() | List<Vector3> | Returns the current triangles. |
getTrianglesArray() | int[] | Returns the current triangles array. |
getTrianglesBuffer() | NativeIntBuffer | Returns the current triangles buffer. |
setTriangles(List<Vector3>) | void | Sets or updates the triangles. |
setTriangles(int[]) | void | Sets or updates the triangles. |
setTriangles(NativeIntBuffer) | void | Sets or updates the triangles. |
setTriangles(Point3Buffer) | void | Sets or updates the triangles. |
getNormals() | List<Vector3> | Returns the current normals. |
getNormalsArray() | float[] | Returns the current normals array. |
getNormalsBuffer() | NativeFloatBuffer | Returns the current normals buffer. |
setNormals(List<Vector3>) | void | Sets or updates the normals. |
setNormals(float[]) | void | Sets or updates the normals. |
setNormals(NativeFloatBuffer) | void | Sets or updates the normals. |
setNormals(Vector3Buffer) | void | Sets or updates the normals. |
getUVs() | List<Vector2> | Returns the current uvs. |
getUVsArray() | float[] | Returns the current uvs array. |
getUVsBuffer() | NativeFloatBuffer | Returns the current uvs buffer. |
setUVs(List<Vector2>) | void | Sets or updates the uvs. |
setUVs(float[]) | void | Sets or updates the uvs. |
setUVs(NativeFloatBuffer) | void | Sets or updates the uvs. |
setUVs(Vector2Buffer) | void | Sets or updates the uvs. |
getJoints() | List<Vector3> | Returns the current joints. |
getJointsArray() | float[] | Returns the current joints array. |
getJointsBuffer() | NativeFloatBuffer | Returns the current joints buffer. |
setJoints(List<Vector3>) | void | Sets or updates the joints. |
setJoints(float[]) | void | Sets or updates the joints. |
setJoints(NativeFloatBuffer) | void | Sets or updates the joints. |
setJoints(Vector3Buffer) | void | Sets or updates the joints. |
getWeights() | List<Vector3> | Returns the current weights. |
getWeightsArray() | float[] | Returns the current weights array. |
getWeightsBuffer() | NativeFloatBuffer | Returns the current weights buffer. |
setWeights(List<Vector3>) | void | Sets or updates the weights. |
setWeights(float[]) | void | Sets or updates the weights. |
setWeights(NativeFloatBuffer) | void | Sets or updates the weights. |
setWeights(Vector3Buffer) | void | Sets or updates the weights. |
traceLaser(Transform, Ray) | LaserHit | Performs the traceLaser operation using the provided parameters (transform, ray). |
traceLaser(Transform, Ray, RayMode) | LaserHit | Performs the traceLaser operation using the provided parameters (transform, ray, rayMode). |
traceLaser(Transform, Ray, RayMode, boolean) | LaserHit | Performs the traceLaser operation using the provided parameters (transform, ray, rayMode, backfaceCulling). |
traceLaserAsync(Transform, Ray, AsyncLaserListener) | void | Performs the traceLaserAsync operation using the provided parameters (transform, ray, asyncLaserListener). |
traceLaserAsync(Transform, Ray, AsyncLaserListener, RayMode) | void | Performs the traceLaserAsync operation using the provided parameters (transform, ray, asyncLaserListener, rayMode). |
traceLaserAsync(Transform, Ray, AsyncLaserListener, RayMode, boolean) | void | Performs the traceLaserAsync operation using the provided parameters (transform, ray, asyncLaserListener, rayMode, backfaceCulling). |
apply() | void | Executes apply and returns after the underlying engine call finishes. |
applyAsync() | void | Executes applyAsync and returns after the underlying engine call finishes. |
getBoundingBox() | AABB | Returns the current bounding box. |
recalculateBoundingBox() | AABB | Executes recalculateBoundingBox and returns after the underlying engine call finishes. |
Static Methods
| Signature | Returns | Description |
|---|---|---|
loadFile(VertexFile) | Vertex | Loads file into the object. |
loadFile(File) | Vertex | Loads file into the object. |
loadFile(InputStream) | Vertex | Loads file into the object. |
loadPrimitive(int) | Vertex | Loads primitive into the object. |