Skip to main content

ShortVector3Buffer

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

Package: JAVARuntime

Category: Vector

Component: no


public class ShortVector3Buffer

Constructors

SignatureDescription
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

NameTypeDescription
bufferShortVector3BufferRepresents the buffer value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
vboEnabledbooleanget/setVirtual attribute exposed by isVboEnabled. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
get(int)Vector3Returns the current value.
getX(int)floatReturns the current x.
getY(int)floatReturns the current y.
getZ(int)floatReturns the current z.
put(Vector3)voidSets or updates the the value.
put(float, float, float)voidSets or updates the the value.
set(int, Vector3)voidSets or updates the the value.
set(int, float, float, float)voidSets or updates the the value.
capacity()intExecutes capacity and returns after the underlying engine call finishes.
array()Vector3[]Executes array and returns after the underlying engine call finishes.
getPosition()intReturns the current position.
position(int)intPerforms the position operation using the provided parameters (idx).
setPosition(int)voidSets or updates the position.
copy()ShortVector3BufferReturns a copy of this ShortVector3Buffer instance.
getFloatBuffer()NativeShortBufferReturns the current float buffer.