Public Member Functions | |
| Vector3i (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| Vector3i | copy () |
| void | set (Vector3i other) |
| int | x () |
| void | setX (int value) |
| int | y () |
| void | setY (int value) |
| int | z () |
| void | setZ (int value) |
| Vector3i () | |
| Vector3i (meshlib.NoInit _1) | |
| Vector3i (int x, int y, int z) | |
| Vector3i (meshlib.Vector3f v) | |
| int | index (int e) |
| java.lang.foreign.MemorySegment | index_mut (int e) |
| int | lengthSq () |
| double | length () |
| meshlib.Vector3i | furthestBasisVector () |
| Public Member Functions inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | rawPointer () |
Static Public Member Functions | |
| static meshlib.Vector3i | diagonal (int a) |
| static meshlib.Vector3i | plusX () |
| static meshlib.Vector3i | plusY () |
| static meshlib.Vector3i | plusZ () |
| static meshlib.Vector3i | minusX () |
| static meshlib.Vector3i | minusY () |
| static meshlib.Vector3i | minusZ () |
| static int | elements () |
Static Public Attributes | |
| static final java.lang.foreign.StructLayout | LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"x", "y", "z"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_INT, java.lang.foreign.ValueLayout.JAVA_INT, java.lang.foreign.ValueLayout.JAVA_INT}) |
| static final long | OFF_x = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("x")) |
| static final long | OFF_y = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("y")) |
| static final long | OFF_z = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("z")) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppStruct | |
| CppStruct (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| Protected Attributes inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | segment |
Generated from class MR::Vector3i.
Has the same layout as the C++ struct, the fields are accessed in place in native memory.
| meshlib.Vector3i.Vector3i | ( | java.lang.foreign.MemorySegment | segment, |
| java.lang.Object | owner ) |
Wraps a segment holding the struct. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.Vector3i.Vector3i | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Vector3i_DefaultConstruct().
| meshlib.Vector3i.Vector3i | ( | meshlib.NoInit | _1 | ) |
Generated from constructor MR::Vector3i::Vector3i. The reference to the parameter _1 might be preserved in the constructed object.
Calls MR_Vector3i_Construct_MR_NoInit().
| meshlib.Vector3i.Vector3i | ( | int | x, |
| int | y, | ||
| int | z ) |
Generated from constructor MR::Vector3i::Vector3i.
Calls MR_Vector3i_Construct().
| meshlib.Vector3i.Vector3i | ( | meshlib.Vector3f | v | ) |
Here T == U doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted when generating the bindings, and looks out of place there. Generated from constructor MR::Vector3i::Vector3i. The reference to the parameter v might be preserved in the constructed object.
Calls MR_Vector3i_Construct_float().
| Vector3i meshlib.Vector3i.copy | ( | ) |
A copy of the struct, in its own memory.
|
static |
Generated from method MR::Vector3i::diagonal.
Calls MR_Vector3i_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector3i named elements.
Calls MR_Vector3i_Get_elements().
| meshlib.Vector3i meshlib.Vector3i.furthestBasisVector | ( | ) |
Generated from method MR::Vector3i::furthestBasisVector.
Calls MR_Vector3i_furthestBasisVector().
| int meshlib.Vector3i.index | ( | int | e | ) |
Generated from method MR::Vector3i::operator[].
Calls MR_Vector3i_index().
| java.lang.foreign.MemorySegment meshlib.Vector3i.index_mut | ( | int | e | ) |
Generated from method MR::Vector3i::operator[].
Calls MR_Vector3i_index_mut(). Some types are raw C types, see the C bindings for the details.
| double meshlib.Vector3i.length | ( | ) |
Generated from method MR::Vector3i::length.
Calls MR_Vector3i_length().
| int meshlib.Vector3i.lengthSq | ( | ) |
Generated from method MR::Vector3i::lengthSq.
Calls MR_Vector3i_lengthSq().
|
static |
Generated from method MR::Vector3i::minusX.
Calls MR_Vector3i_minusX().
|
static |
Generated from method MR::Vector3i::minusY.
Calls MR_Vector3i_minusY().
|
static |
Generated from method MR::Vector3i::minusZ.
Calls MR_Vector3i_minusZ().
|
static |
Generated from method MR::Vector3i::plusX.
Calls MR_Vector3i_plusX().
|
static |
Generated from method MR::Vector3i::plusY.
Calls MR_Vector3i_plusY().
|
static |
Generated from method MR::Vector3i::plusZ.
Calls MR_Vector3i_plusZ().
| void meshlib.Vector3i.set | ( | Vector3i | other | ) |
Overwrites the contents with those of another struct.
| void meshlib.Vector3i.setX | ( | int | value | ) |
| void meshlib.Vector3i.setY | ( | int | value | ) |
| void meshlib.Vector3i.setZ | ( | int | value | ) |
| int meshlib.Vector3i.x | ( | ) |
| int meshlib.Vector3i.y | ( | ) |
| int meshlib.Vector3i.z | ( | ) |
|
static |
The native layout of the struct.
|
static |
|
static |
|
static |