Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::TextMeshAlignParams > |
| static auto | construct_from_another (_other:&meshlib::TextMeshAlignParams) -> meshlib::Owned< meshlib::TextMeshAlignParams > |
| static auto | max_generated_font_height () -> *const f32 |
| static auto | static_downcast_from_symbol_mesh_params (object:&meshlib::SymbolMeshParams) -> &Self |
| static auto | static_downcast_from_symbol_mesh_params_mut (object:&mut meshlib::SymbolMeshParams) -> &mut Self |
| 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::TextMeshAlignParams. Base classes: Direct: (non-virtual) MR::SymbolMeshParams
Generated from class MR::TextMeshAlignParams. Heap-allocated instances are held in Owned<TextMeshAlignParams>.
| auto meshlib::TextMeshAlignParams::align | ( | ) | const -> &meshlib::AlignType |
alignment of the text inside bbox Returns a pointer to a member variable of class MR::TextMeshAlignParams named align.
Calls MR_TextMeshAlignParams_Get_align(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::align_mut | ( | ) | -> &mut meshlib::AlignType |
alignment of the text inside bbox Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named align.
Calls MR_TextMeshAlignParams_GetMutable_align(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::assign_from_another | ( | _other:&meshlib::TextMeshAlignParams | ) | -> &mut meshlib::TextMeshAlignParams |
Generated from method MR::TextMeshAlignParams::operator=.
Calls MR_TextMeshAlignParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::TextMeshAlignParams::TextMeshAlignParams.
Calls MR_TextMeshAlignParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::TextMeshAlignParams::direction | ( | ) | const -> &meshlib::Vector3f |
Direction of text, must be not zero Returns a pointer to a member variable of class MR::TextMeshAlignParams named direction.
Calls MR_TextMeshAlignParams_Get_direction(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::direction_mut | ( | ) | -> &mut meshlib::Vector3f |
Direction of text, must be not zero Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named direction.
Calls MR_TextMeshAlignParams_GetMutable_direction(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::font_based_size_calc | ( | ) | const -> &bool |
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text Returns a pointer to a member variable of class MR::TextMeshAlignParams named fontBasedSizeCalc.
Calls MR_TextMeshAlignParams_Get_fontBasedSizeCalc(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::font_based_size_calc_mut | ( | ) | -> &mut bool |
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named fontBasedSizeCalc.
Calls MR_TextMeshAlignParams_GetMutable_fontBasedSizeCalc(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::font_detalization | ( | ) | const -> &core::ffi::c_int |
Detailization of Bezier curves on font glyphs Returns a pointer to a member variable of class MR::TextMeshAlignParams named fontDetalization.
Calls MR_TextMeshAlignParams_Get_fontDetalization(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::font_detalization_mut | ( | ) | -> &mut core::ffi::c_int |
Detailization of Bezier curves on font glyphs Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named fontDetalization.
Calls MR_TextMeshAlignParams_GetMutable_fontDetalization(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::font_height | ( | ) | const -> &f32 |
Font height, meters Returns a pointer to a member variable of class MR::TextMeshAlignParams named fontHeight.
Calls MR_TextMeshAlignParams_Get_fontHeight(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::font_height_mut | ( | ) | -> &mut f32 |
Font height, meters Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named fontHeight.
Calls MR_TextMeshAlignParams_GetMutable_fontHeight(). The reference to this object might be preserved as the return value.
|
static |
max font size with 128 << 6 FT_F26Dot6 font size Returns a pointer to a member variable of class MR::TextMeshAlignParams named MaxGeneratedFontHeight.
Calls MR_TextMeshAlignParams_Get_MaxGeneratedFontHeight().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_TextMeshAlignParams_DefaultConstruct().
| auto meshlib::TextMeshAlignParams::path_to_font_file | ( | ) | const -> &meshlib::std_filesystem_path |
Path to font file Returns a pointer to a member variable of class MR::TextMeshAlignParams named pathToFontFile.
Calls MR_TextMeshAlignParams_Get_pathToFontFile(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::path_to_font_file_mut | ( | ) | -> &mut meshlib::std_filesystem_path |
Path to font file Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named pathToFontFile.
Calls MR_TextMeshAlignParams_GetMutable_pathToFontFile(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::pivot_point | ( | ) | const -> &meshlib::Vector2f |
Position of the startPoint in a text bounding box (0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right Returns a pointer to a member variable of class MR::TextMeshAlignParams named pivotPoint.
Calls MR_TextMeshAlignParams_Get_pivotPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::pivot_point_mut | ( | ) | -> &mut meshlib::Vector2f |
Position of the startPoint in a text bounding box (0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named pivotPoint.
Calls MR_TextMeshAlignParams_GetMutable_pivotPoint(). The reference to this object might be preserved as the return value.
| void meshlib::TextMeshAlignParams::set_align | ( | value:meshlib::AlignType | ) |
alignment of the text inside bbox Modifies a member variable of class MR::TextMeshAlignParams named align.
Calls MR_TextMeshAlignParams_Set_align(). The reference to the parameter value might be preserved in this object in element align.
| void meshlib::TextMeshAlignParams::set_direction | ( | value:meshlib::Vector3f | ) |
Direction of text, must be not zero Modifies a member variable of class MR::TextMeshAlignParams named direction.
Calls MR_TextMeshAlignParams_Set_direction(). The reference to the parameter value might be preserved in this object in element direction.
| void meshlib::TextMeshAlignParams::set_font_based_size_calc | ( | value:bool | ) |
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text Modifies a member variable of class MR::TextMeshAlignParams named fontBasedSizeCalc.
Calls MR_TextMeshAlignParams_Set_fontBasedSizeCalc().
| void meshlib::TextMeshAlignParams::set_font_detalization | ( | value:core::ffi::c_int | ) |
Detailization of Bezier curves on font glyphs Modifies a member variable of class MR::TextMeshAlignParams named fontDetalization.
Calls MR_TextMeshAlignParams_Set_fontDetalization().
| void meshlib::TextMeshAlignParams::set_font_height | ( | value:f32 | ) |
Font height, meters Modifies a member variable of class MR::TextMeshAlignParams named fontHeight.
Calls MR_TextMeshAlignParams_Set_fontHeight().
| void meshlib::TextMeshAlignParams::set_path_to_font_file | ( | value:& | str | ) |
Path to font file Modifies a member variable of class MR::TextMeshAlignParams named pathToFontFile.
Calls MR_TextMeshAlignParams_Set_pathToFontFile(). The reference to the parameter value might be preserved in this object in element pathToFontFile.
| void meshlib::TextMeshAlignParams::set_pivot_point | ( | value:meshlib::Vector2f | ) |
Position of the startPoint in a text bounding box (0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right Modifies a member variable of class MR::TextMeshAlignParams named pivotPoint.
Calls MR_TextMeshAlignParams_Set_pivotPoint(). The reference to the parameter value might be preserved in this object in element pivotPoint.
| void meshlib::TextMeshAlignParams::set_start_point | ( | value:&meshlib::MeshTriPoint | ) |
Position on mesh, where text's pivot point is mapped Modifies a member variable of class MR::TextMeshAlignParams named startPoint.
Calls MR_TextMeshAlignParams_Set_startPoint(). The reference to the parameter value might be preserved in this object in element startPoint.
| void meshlib::TextMeshAlignParams::set_surface_offset | ( | value:f32 | ) |
Text mesh inside and outside offset of input mesh Modifies a member variable of class MR::TextMeshAlignParams named surfaceOffset.
Calls MR_TextMeshAlignParams_Set_surfaceOffset().
| void meshlib::TextMeshAlignParams::set_symbols_distance_additional_offset | ( | value:meshlib::Vector2f | ) |
Additional offset between symbols X: In symbol size: 1.0f adds one "space", 0.5 adds half "space". Y: In symbol size: 1.0f adds one base height, 0.5 adds half base height Modifies a member variable of class MR::TextMeshAlignParams named symbolsDistanceAdditionalOffset.
Calls MR_TextMeshAlignParams_Set_symbolsDistanceAdditionalOffset(). The reference to the parameter value might be preserved in this object in element symbolsDistanceAdditionalOffset.
| void meshlib::TextMeshAlignParams::set_symbols_thickness_offset_modifier | ( | value:f32 | ) |
Symbols thickness will be modified by this value (newThickness = modifier*baseSymbolHeight + defaultThickness) note: changing this to non-zero values cause costly calculations Modifies a member variable of class MR::TextMeshAlignParams named symbolsThicknessOffsetModifier.
Calls MR_TextMeshAlignParams_Set_symbolsThicknessOffsetModifier().
| void meshlib::TextMeshAlignParams::set_text | ( | value:& | str | ) |
Text that will be made mesh Modifies a member variable of class MR::TextMeshAlignParams named text.
Calls MR_TextMeshAlignParams_Set_text(). The reference to the parameter value might be preserved in this object in element text.
| void meshlib::TextMeshAlignParams::set_text_maximum_movement | ( | value:f32 | ) |
Maximum possible movement of text mesh alignment, meters Modifies a member variable of class MR::TextMeshAlignParams named textMaximumMovement.
Calls MR_TextMeshAlignParams_Set_textMaximumMovement().
| void meshlib::TextMeshAlignParams::set_text_normal | ( | value:Option<&meshlib::Vector3f > | ) |
Text normal to surface, if nullptr - use mesh normal at startPoint Modifies a member variable of class MR::TextMeshAlignParams named textNormal.
Calls MR_TextMeshAlignParams_Set_textNormal(). The reference to the parameter value might be preserved in this object in element textNormal.
| auto meshlib::TextMeshAlignParams::start_point | ( | ) | const -> &meshlib::MeshTriPoint |
Position on mesh, where text's pivot point is mapped Returns a pointer to a member variable of class MR::TextMeshAlignParams named startPoint.
Calls MR_TextMeshAlignParams_Get_startPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::start_point_mut | ( | ) | -> &mut meshlib::MeshTriPoint |
Position on mesh, where text's pivot point is mapped Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named startPoint.
Calls MR_TextMeshAlignParams_GetMutable_startPoint(). The reference to this object might be preserved as the return value.
|
static |
Static downcast from the base class MR::SymbolMeshParams.
Calls MR_TextMeshAlignParams_StaticDowncastFrom_MR_SymbolMeshParams(). Undefined behavior if the object isn't actually a TextMeshAlignParams.
|
static |
Static downcast from the base class MR::SymbolMeshParams.
Calls MR_TextMeshAlignParams_MutableStaticDowncastFrom_MR_SymbolMeshParams(). Undefined behavior if the object isn't actually a TextMeshAlignParams.
| auto meshlib::TextMeshAlignParams::surface_offset | ( | ) | const -> &f32 |
Text mesh inside and outside offset of input mesh Returns a pointer to a member variable of class MR::TextMeshAlignParams named surfaceOffset.
Calls MR_TextMeshAlignParams_Get_surfaceOffset(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::surface_offset_mut | ( | ) | -> &mut f32 |
Text mesh inside and outside offset of input mesh Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named surfaceOffset.
Calls MR_TextMeshAlignParams_GetMutable_surfaceOffset(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::symbols_distance_additional_offset | ( | ) | const -> &meshlib::Vector2f |
Additional offset between symbols X: In symbol size: 1.0f adds one "space", 0.5 adds half "space". Y: In symbol size: 1.0f adds one base height, 0.5 adds half base height Returns a pointer to a member variable of class MR::TextMeshAlignParams named symbolsDistanceAdditionalOffset.
Calls MR_TextMeshAlignParams_Get_symbolsDistanceAdditionalOffset(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::symbols_distance_additional_offset_mut | ( | ) | -> &mut meshlib::Vector2f |
Additional offset between symbols X: In symbol size: 1.0f adds one "space", 0.5 adds half "space". Y: In symbol size: 1.0f adds one base height, 0.5 adds half base height Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named symbolsDistanceAdditionalOffset.
Calls MR_TextMeshAlignParams_GetMutable_symbolsDistanceAdditionalOffset(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::symbols_thickness_offset_modifier | ( | ) | const -> &f32 |
Symbols thickness will be modified by this value (newThickness = modifier*baseSymbolHeight + defaultThickness) note: changing this to non-zero values cause costly calculations Returns a pointer to a member variable of class MR::TextMeshAlignParams named symbolsThicknessOffsetModifier.
Calls MR_TextMeshAlignParams_Get_symbolsThicknessOffsetModifier(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::symbols_thickness_offset_modifier_mut | ( | ) | -> &mut f32 |
Symbols thickness will be modified by this value (newThickness = modifier*baseSymbolHeight + defaultThickness) note: changing this to non-zero values cause costly calculations Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named symbolsThicknessOffsetModifier.
Calls MR_TextMeshAlignParams_GetMutable_symbolsThicknessOffsetModifier(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::text | ( | ) | const -> &meshlib::std_string |
Text that will be made mesh Returns a pointer to a member variable of class MR::TextMeshAlignParams named text.
Calls MR_TextMeshAlignParams_Get_text(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::text_maximum_movement | ( | ) | const -> &f32 |
Maximum possible movement of text mesh alignment, meters Returns a pointer to a member variable of class MR::TextMeshAlignParams named textMaximumMovement.
Calls MR_TextMeshAlignParams_Get_textMaximumMovement(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::text_maximum_movement_mut | ( | ) | -> &mut f32 |
Maximum possible movement of text mesh alignment, meters Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named textMaximumMovement.
Calls MR_TextMeshAlignParams_GetMutable_textMaximumMovement(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::text_mut | ( | ) | -> &mut meshlib::std_string |
Text that will be made mesh Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named text.
Calls MR_TextMeshAlignParams_GetMutable_text(). The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::text_normal | ( | ) | const -> *const *const meshlib::Vector3f |
Text normal to surface, if nullptr - use mesh normal at startPoint Returns a pointer to a member variable of class MR::TextMeshAlignParams named textNormal.
Calls MR_TextMeshAlignParams_Get_textNormal(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::text_normal_mut | ( | ) | -> *mut *const meshlib::Vector3f |
Text normal to surface, if nullptr - use mesh normal at startPoint Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named textNormal.
Calls MR_TextMeshAlignParams_GetMutable_textNormal(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::TextMeshAlignParams::upcast_to_symbol_mesh_params | ( | ) | const -> &meshlib::SymbolMeshParams |
Upcasts to the base class MR::SymbolMeshParams.
Calls MR_TextMeshAlignParams_UpcastTo_MR_SymbolMeshParams().
| auto meshlib::TextMeshAlignParams::upcast_to_symbol_mesh_params_mut | ( | ) | -> &mut meshlib::SymbolMeshParams |
Upcasts to the base class MR::SymbolMeshParams.
Calls MR_TextMeshAlignParams_MutableUpcastTo_MR_SymbolMeshParams().