Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::features::SubfeatureInfo > |
| static auto | construct_from (name:&str, isInfinite:bool, create:&meshlib::std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref) -> meshlib::Owned< meshlib::features::SubfeatureInfo > |
| static auto | construct_from_another (_other:&meshlib::features::SubfeatureInfo) -> meshlib::Owned< meshlib::features::SubfeatureInfo > |
| 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 |
Describes a single feature produced by forEachSubfeature(). Generated from class MR::Features::SubfeatureInfo.
Generated from class MR::Features::SubfeatureInfo. Heap-allocated instances are held in Owned<SubfeatureInfo>.
| auto meshlib::features::SubfeatureInfo::assign_from_another | ( | _other:&meshlib::features::SubfeatureInfo | ) | -> &mut meshlib::features::SubfeatureInfo |
Generated from method MR::Features::SubfeatureInfo::operator=.
Calls MR_Features_SubfeatureInfo_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::Features::SubfeatureInfo elementwise.
Calls MR_Features_SubfeatureInfo_ConstructFrom(). The reference to the parameter name might be preserved in the constructed object. The reference to the parameter create might be preserved in the constructed object.
|
static |
Generated from constructor MR::Features::SubfeatureInfo::SubfeatureInfo.
Calls MR_Features_SubfeatureInfo_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::features::SubfeatureInfo::create | ( | ) | const -> &meshlib::std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref |
Call this to create this subfeature. Pass the same feature you passed to forEachSubfeature(), or a DIFFERENT one to create the same kind of subfeature relative to that. Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named create.
Calls MR_Features_SubfeatureInfo_Get_create(). The reference to this object might be preserved as the return value.
| auto meshlib::features::SubfeatureInfo::create_mut | ( | ) | -> &mut meshlib::std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref |
Call this to create this subfeature. Pass the same feature you passed to forEachSubfeature(), or a DIFFERENT one to create the same kind of subfeature relative to that. Returns a mutable pointer to a member variable of class MR::Features::SubfeatureInfo named create.
Calls MR_Features_SubfeatureInfo_GetMutable_create(). The reference to this object might be preserved as the return value.
| auto meshlib::features::SubfeatureInfo::is_infinite | ( | ) | const -> &bool |
Whether the feature has infinite length. Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named isInfinite.
Calls MR_Features_SubfeatureInfo_Get_isInfinite(). The reference to this object might be preserved as the return value.
| auto meshlib::features::SubfeatureInfo::is_infinite_mut | ( | ) | -> &mut bool |
Whether the feature has infinite length. Returns a mutable pointer to a member variable of class MR::Features::SubfeatureInfo named isInfinite.
Calls MR_Features_SubfeatureInfo_GetMutable_isInfinite(). The reference to this object might be preserved as the return value.
| auto meshlib::features::SubfeatureInfo::name | ( | ) | const -> &meshlib::std_string_view |
A user-friendly name. Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named name.
Calls MR_Features_SubfeatureInfo_Get_name(). The reference to this object might be preserved as the return value.
| auto meshlib::features::SubfeatureInfo::name_mut | ( | ) | -> &mut meshlib::std_string_view |
A user-friendly name. Returns a mutable pointer to a member variable of class MR::Features::SubfeatureInfo named name.
Calls MR_Features_SubfeatureInfo_GetMutable_name(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Features_SubfeatureInfo_DefaultConstruct().
| void meshlib::features::SubfeatureInfo::set_create | ( | value:&meshlib::std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref | ) |
Call this to create this subfeature. Pass the same feature you passed to forEachSubfeature(), or a DIFFERENT one to create the same kind of subfeature relative to that. Modifies a member variable of class MR::Features::SubfeatureInfo named create.
Calls MR_Features_SubfeatureInfo_Set_create(). The reference to the parameter value might be preserved in this object in element create.
| void meshlib::features::SubfeatureInfo::set_is_infinite | ( | value:bool | ) |
Whether the feature has infinite length. Modifies a member variable of class MR::Features::SubfeatureInfo named isInfinite.
Calls MR_Features_SubfeatureInfo_Set_isInfinite().
| void meshlib::features::SubfeatureInfo::set_name | ( | value:& | str | ) |
A user-friendly name. Modifies a member variable of class MR::Features::SubfeatureInfo named name.
Calls MR_Features_SubfeatureInfo_Set_name(). The reference to the parameter value might be preserved in this object in element name.