Public Member Functions | |
| std_variant_float_MR_Vector3f (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| std_variant_float_MR_Vector3f () | |
| std_variant_float_MR_Vector3f (meshlib.std_variant_float_MR_Vector3f other) | |
| void | assignFromAnother (meshlib.std_variant_float_MR_Vector3f other) |
| long | index () |
| std_variant_float_MR_Vector3f (float value) | |
| std_variant_float_MR_Vector3f (meshlib.Vector3f value) | |
| void | AssignAs_float (float value) |
| void | AssignAs_MR_Vector3f (meshlib.Vector3f value) |
| java.lang.Float | get_float () |
| java.lang.foreign.MemorySegment | get_float_mut () |
| meshlib.Vector3f | get_MR_Vector3f () |
| meshlib.Vector3f | get_MR_Vector3f_mut () |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Stores one of 2 objects: float, MR::Vector3f.
Instances created here own their C++ objects, see CppObject.
| meshlib.std_variant_float_MR_Vector3f.std_variant_float_MR_Vector3f | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.std_variant_float_MR_Vector3f.std_variant_float_MR_Vector3f | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_std_variant_float_MR_Vector3f_DefaultConstruct().
| meshlib.std_variant_float_MR_Vector3f.std_variant_float_MR_Vector3f | ( | meshlib.std_variant_float_MR_Vector3f | other | ) |
Constructs a copy of another instance. The source remains alive. The reference to the parameter other might be preserved in the constructed object.
Calls MR_std_variant_float_MR_Vector3f_ConstructFromAnother().
| meshlib.std_variant_float_MR_Vector3f.std_variant_float_MR_Vector3f | ( | float | value | ) |
Constructs the variant storing the element 0, of type float.
Calls MR_std_variant_float_MR_Vector3f_ConstructAs_float().
| meshlib.std_variant_float_MR_Vector3f.std_variant_float_MR_Vector3f | ( | meshlib.Vector3f | value | ) |
Constructs the variant storing the element 1, of type MR::Vector3f. The reference to the parameter value might be preserved in the constructed object.
Calls MR_std_variant_float_MR_Vector3f_ConstructAs_MR_Vector3f().
| void meshlib.std_variant_float_MR_Vector3f.AssignAs_float | ( | float | value | ) |
Assigns to the variant, making it store the element 0, of type float.
Calls MR_std_variant_float_MR_Vector3f_AssignAs_float().
| void meshlib.std_variant_float_MR_Vector3f.AssignAs_MR_Vector3f | ( | meshlib.Vector3f | value | ) |
Assigns to the variant, making it store the element 1, of type MR::Vector3f. The reference to the parameter value might be preserved in this object.
Calls MR_std_variant_float_MR_Vector3f_AssignAs_MR_Vector3f().
| void meshlib.std_variant_float_MR_Vector3f.assignFromAnother | ( | meshlib.std_variant_float_MR_Vector3f | other | ) |
Assigns the contents from another instance. Both objects remain alive after the call. The reference to the parameter other might be preserved in this object.
Calls MR_std_variant_float_MR_Vector3f_AssignFromAnother().
| java.lang.Float meshlib.std_variant_float_MR_Vector3f.get_float | ( | ) |
Returns the element 0, of type float, read-only. If it's not the active element, returns null. The reference to this object might be preserved as the return value.
Calls MR_std_variant_float_MR_Vector3f_get_float().
| java.lang.foreign.MemorySegment meshlib.std_variant_float_MR_Vector3f.get_float_mut | ( | ) |
Returns the element 0, of type float, mutable. If it's not the active element, returns null. The reference to this object might be preserved as the return value.
Calls MR_std_variant_float_MR_Vector3f_get_float_mut(). Some types are raw C types, see the C bindings for the details.
| meshlib.Vector3f meshlib.std_variant_float_MR_Vector3f.get_MR_Vector3f | ( | ) |
Returns the element 1, of type MR::Vector3f, read-only. If it's not the active element, returns null. The reference to this object might be preserved as the return value.
Calls MR_std_variant_float_MR_Vector3f_get_MR_Vector3f().
| meshlib.Vector3f meshlib.std_variant_float_MR_Vector3f.get_MR_Vector3f_mut | ( | ) |
Returns the element 1, of type MR::Vector3f, mutable. If it's not the active element, returns null. The reference to this object might be preserved as the return value.
Calls MR_std_variant_float_MR_Vector3f_get_MR_Vector3f_mut().
| long meshlib.std_variant_float_MR_Vector3f.index | ( | ) |
Returns the index of the stored element type. In rare cases may return -1 if this variant is "valueless by exception".
Calls MR_std_variant_float_MR_Vector3f_index().