ShortVector3Buffer
Complete API reference for ShortVector3Buffer, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: Vector
Component: no
public class ShortVector3Buffer
Constructors
| Signature | Description |
|---|---|
ShortVector3Buffer(ShortVector3Buffer) | Executes ShortVector3Buffer and returns after the underlying engine call finishes. |
ShortVector3Buffer(Engine) | Executes ShortVector3Buffer and returns after the underlying engine call finishes. |
ShortVector3Buffer(int) | Creates a new instance of ShortVector3Buffer. |
ShortVector3Buffer(NativeShortBuffer) | Creates a new instance of ShortVector3Buffer. |
Attributes
| Name | Type | Description |
|---|---|---|
buffer | ShortVector3Buffer | Represents the buffer value stored on this instance. Read or assign to update the property. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
vboEnabled | boolean | get/set | Virtual attribute exposed by isVboEnabled. Access it like a field to read or write the underlying value. |
Methods
| Signature | Returns | Description |
|---|---|---|
get(int) | Vector3 | Returns the current value. |
getX(int) | float | Returns the current x. |
getY(int) | float | Returns the current y. |
getZ(int) | float | Returns the current z. |
put(Vector3) | void | Sets or updates the the value. |
put(float, float, float) | void | Sets or updates the the value. |
set(int, Vector3) | void | Sets or updates the the value. |
set(int, float, float, float) | void | Sets or updates the the value. |
capacity() | int | Executes capacity and returns after the underlying engine call finishes. |
array() | Vector3[] | Executes array and returns after the underlying engine call finishes. |
getPosition() | int | Returns the current position. |
position(int) | int | Performs the position operation using the provided parameters (idx). |
setPosition(int) | void | Sets or updates the position. |
copy() | ShortVector3Buffer | Returns a copy of this ShortVector3Buffer instance. |
getFloatBuffer() | NativeShortBuffer | Returns the current float buffer. |