Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::ObjectComparableWithReference_ComparableProperty) -> &mut meshlib::ObjectComparableWithReference_ComparableProperty |
| auto | value () const -> &f32 |
| auto | value_mut () -> &mut f32 |
| void | set_value (value:f32) |
| auto | reference_value () const -> &meshlib::std_optional_float |
| auto | reference_value_mut () -> &mut meshlib::std_optional_float |
| void | set_reference_value (value:Option< f32 >) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparableProperty > |
| static auto | construct_from (value:f32, referenceValue:Option< f32 >) -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparableProperty > |
| static auto | construct_from_another (_other:&meshlib::ObjectComparableWithReference_ComparableProperty) -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparableProperty > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Generated from class MR::ObjectComparableWithReference::ComparableProperty.
Generated from class MR::ObjectComparableWithReference::ComparableProperty. Heap-allocated instances are held in Owned<ObjectComparableWithReference_ComparableProperty>.
| auto meshlib::ObjectComparableWithReference_ComparableProperty::assign_from_another | ( | _other:&meshlib::ObjectComparableWithReference_ComparableProperty | ) | -> &mut meshlib::ObjectComparableWithReference_ComparableProperty |
Generated from method MR::ObjectComparableWithReference::ComparableProperty::operator=.
Calls MR_ObjectComparableWithReference_ComparableProperty_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::ObjectComparableWithReference::ComparableProperty elementwise.
Calls MR_ObjectComparableWithReference_ComparableProperty_ConstructFrom(). The reference to the parameter referenceValue might be preserved in the constructed object.
|
static |
Generated from constructor MR::ObjectComparableWithReference::ComparableProperty::ComparableProperty.
Calls MR_ObjectComparableWithReference_ComparableProperty_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectComparableWithReference_ComparableProperty_DefaultConstruct().
| auto meshlib::ObjectComparableWithReference_ComparableProperty::reference_value | ( | ) | const -> &meshlib::std_optional_float |
This can be null if the reference value isn't set, or something else is wrong. This can match whatever is set via get/setComparisonReferenceValue(), but not necessarily. E.g. for point coordinates, those functions act on the reference coordinates (three optional floats), but this number is always zero, and the value is the distance to those coordinates. Returns a pointer to a member variable of class MR::ObjectComparableWithReference::ComparableProperty named referenceValue.
Calls MR_ObjectComparableWithReference_ComparableProperty_Get_referenceValue(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectComparableWithReference_ComparableProperty::reference_value_mut | ( | ) | -> &mut meshlib::std_optional_float |
This can be null if the reference value isn't set, or something else is wrong. This can match whatever is set via get/setComparisonReferenceValue(), but not necessarily. E.g. for point coordinates, those functions act on the reference coordinates (three optional floats), but this number is always zero, and the value is the distance to those coordinates. Returns a mutable pointer to a member variable of class MR::ObjectComparableWithReference::ComparableProperty named referenceValue.
Calls MR_ObjectComparableWithReference_ComparableProperty_GetMutable_referenceValue(). The reference to this object might be preserved as the return value.
| void meshlib::ObjectComparableWithReference_ComparableProperty::set_reference_value | ( | value:Option< f32 > | ) |
This can be null if the reference value isn't set, or something else is wrong. This can match whatever is set via get/setComparisonReferenceValue(), but not necessarily. E.g. for point coordinates, those functions act on the reference coordinates (three optional floats), but this number is always zero, and the value is the distance to those coordinates. Modifies a member variable of class MR::ObjectComparableWithReference::ComparableProperty named referenceValue.
Calls MR_ObjectComparableWithReference_ComparableProperty_Set_referenceValue(). The reference to the parameter value might be preserved in this object in element referenceValue.
| void meshlib::ObjectComparableWithReference_ComparableProperty::set_value | ( | value:f32 | ) |
Modifies a member variable of class MR::ObjectComparableWithReference::ComparableProperty named value.
Calls MR_ObjectComparableWithReference_ComparableProperty_Set_value().
| auto meshlib::ObjectComparableWithReference_ComparableProperty::value | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::ObjectComparableWithReference::ComparableProperty named value.
Calls MR_ObjectComparableWithReference_ComparableProperty_Get_value(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectComparableWithReference_ComparableProperty::value_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::ObjectComparableWithReference::ComparableProperty named value.
Calls MR_ObjectComparableWithReference_ComparableProperty_GetMutable_value(). The reference to this object might be preserved as the return value.