Skip to main content

Vector3Buffer

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

Package: JAVARuntime

Category: Vector

Component: no


public class Vector3Buffer

Constructors

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

Attributes

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

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()Vector3BufferReturns a copy of this Vector3Buffer instance.
getFloatBuffer()JAVARuntime.NativeFloatBufferReturns the current float buffer.