Public Member Functions | |
| Vector3b (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| Vector3b | copy () |
| void | set (Vector3b other) |
| boolean | x () |
| void | setX (boolean value) |
| boolean | y () |
| void | setY (boolean value) |
| boolean | z () |
| void | setZ (boolean value) |
| Vector3b () | |
| Vector3b (meshlib.NoInit _1) | |
| Vector3b (boolean x, boolean y, boolean z) | |
| boolean | index (int e) |
| java.lang.foreign.MemorySegment | index_mut (int e) |
| int | lengthSq () |
| double | length () |
| Public Member Functions inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | rawPointer () |
Static Public Member Functions | |
| static meshlib.Vector3b | diagonal (boolean a) |
| static meshlib.Vector3b | plusX () |
| static meshlib.Vector3b | plusY () |
| static meshlib.Vector3b | plusZ () |
| 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_BOOLEAN, java.lang.foreign.ValueLayout.JAVA_BOOLEAN, java.lang.foreign.ValueLayout.JAVA_BOOLEAN}) |
| 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 |
three-dimensional vector Generated from class MR::Vector3b.
Has the same layout as the C++ struct, the fields are accessed in place in native memory.
| meshlib.Vector3b.Vector3b | ( | 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.Vector3b.Vector3b | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Vector3b_DefaultConstruct().
| meshlib.Vector3b.Vector3b | ( | meshlib.NoInit | _1 | ) |
Generated from constructor MR::Vector3b::Vector3b. The reference to the parameter _1 might be preserved in the constructed object.
Calls MR_Vector3b_Construct_MR_NoInit().
| meshlib.Vector3b.Vector3b | ( | boolean | x, |
| boolean | y, | ||
| boolean | z ) |
Generated from constructor MR::Vector3b::Vector3b.
Calls MR_Vector3b_Construct().
| Vector3b meshlib.Vector3b.copy | ( | ) |
A copy of the struct, in its own memory.
|
static |
Generated from method MR::Vector3b::diagonal.
Calls MR_Vector3b_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector3b named elements.
Calls MR_Vector3b_Get_elements().
| boolean meshlib.Vector3b.index | ( | int | e | ) |
Generated from method MR::Vector3b::operator[].
Calls MR_Vector3b_index().
| java.lang.foreign.MemorySegment meshlib.Vector3b.index_mut | ( | int | e | ) |
Generated from method MR::Vector3b::operator[].
Calls MR_Vector3b_index_mut(). Some types are raw C types, see the C bindings for the details.
| double meshlib.Vector3b.length | ( | ) |
Generated from method MR::Vector3b::length.
Calls MR_Vector3b_length().
| int meshlib.Vector3b.lengthSq | ( | ) |
Generated from method MR::Vector3b::lengthSq.
Calls MR_Vector3b_lengthSq().
|
static |
Generated from method MR::Vector3b::plusX.
Calls MR_Vector3b_plusX().
|
static |
Generated from method MR::Vector3b::plusY.
Calls MR_Vector3b_plusY().
|
static |
Generated from method MR::Vector3b::plusZ.
Calls MR_Vector3b_plusZ().
| void meshlib.Vector3b.set | ( | Vector3b | other | ) |
Overwrites the contents with those of another struct.
| void meshlib.Vector3b.setX | ( | boolean | value | ) |
| void meshlib.Vector3b.setY | ( | boolean | value | ) |
| void meshlib.Vector3b.setZ | ( | boolean | value | ) |
| boolean meshlib.Vector3b.x | ( | ) |
| boolean meshlib.Vector3b.y | ( | ) |
| boolean meshlib.Vector3b.z | ( | ) |
|
static |
The native layout of the struct.
|
static |
|
static |
|
static |