#include <MRCMesh/MRVector2.h>#include <MRCMesh/MRVector3.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <MRCSymbolMesh/MRSymbolMesh.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_Mesh | MR_Mesh |
| typedef struct MR_MeshTriPoint | MR_MeshTriPoint |
| typedef struct MR_SymbolMeshParams | MR_SymbolMeshParams |
| typedef struct MR_expected_MR_Mesh_std_string | MR_expected_MR_Mesh_std_string |
| typedef struct MR_std_filesystem_path | MR_std_filesystem_path |
| typedef struct MR_std_function_MR_CurvePoint_from_float | MR_std_function_MR_CurvePoint_from_float |
| typedef struct MR_std_string | MR_std_string |
| typedef struct MR_std_vector_MR_CurvePoint | MR_std_vector_MR_CurvePoint |
| typedef struct MR_std_vector_MR_EdgePoint | MR_std_vector_MR_EdgePoint |
| typedef struct MR_TextMeshAlignParams | MR_TextMeshAlignParams |
| typedef struct MR_BendTextAlongCurveParams | MR_BendTextAlongCurveParams |
| typedef struct MR_BendTextAlongCurveParams MR_BendTextAlongCurveParams |
Generated from class MR::BendTextAlongCurveParams. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string |
| typedef struct MR_MeshTriPoint MR_MeshTriPoint |
| typedef struct MR_std_filesystem_path MR_std_filesystem_path |
| typedef struct MR_std_string MR_std_string |
| typedef struct MR_std_vector_MR_CurvePoint MR_std_vector_MR_CurvePoint |
| typedef struct MR_std_vector_MR_EdgePoint MR_std_vector_MR_EdgePoint |
| typedef struct MR_SymbolMeshParams MR_SymbolMeshParams |
| typedef struct MR_TextMeshAlignParams MR_TextMeshAlignParams |
Generated from class MR::TextMeshAlignParams. Base classes: Direct: (non-virtual) MR::SymbolMeshParams Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| MRC_API MR_expected_MR_Mesh_std_string * MR_alignTextToMesh | ( | const MR_Mesh * | mesh, |
| const MR_TextMeshAlignParams * | params ) |
Creates symbol mesh and aligns it to given surface Generated from function MR::alignTextToMesh. Parameter mesh can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_expected_MR_Mesh_std_string * MR_bendTextAlongCurve_std_function_MR_CurvePoint_func_from_float | ( | const MR_std_function_MR_CurvePoint_from_float * | curve, |
| const MR_BendTextAlongCurveParams * | params ) |
Creates symbol mesh and deforms it along given curve
| curve | converts (x in [0,1], pivotY) into position on curve Generated from function MR::bendTextAlongCurve. Parameter curve can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it. |
| MRC_API MR_expected_MR_Mesh_std_string * MR_bendTextAlongCurve_std_vector_MR_CurvePoint | ( | const MR_std_vector_MR_CurvePoint * | curve, |
| const MR_BendTextAlongCurveParams * | params ) |
Creates symbol mesh and deforms it along given curve Generated from function MR::bendTextAlongCurve. Parameter curve can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_BendTextAlongCurveParams * MR_BendTextAlongCurveParams_AssignFromAnother | ( | MR_BendTextAlongCurveParams * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_BendTextAlongCurveParams * | _other ) |
Generated from method MR::BendTextAlongCurveParams::operator=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_BendTextAlongCurveParams * MR_BendTextAlongCurveParams_ConstructFrom | ( | MR_PassBy | symbolMesh_pass_by, |
| MR_SymbolMeshParams * | symbolMesh, | ||
| float | pivotCurveTime, | ||
| MR_Vector2f | pivotBoxPoint, | ||
| float | fontHeight, | ||
| float | surfaceOffset, | ||
| bool | fontBasedSizeCalc, | ||
| bool | stretch ) |
Constructs MR::BendTextAlongCurveParams elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_BendTextAlongCurveParams_Destroy() to free it when you're done using it.
| MRC_API MR_BendTextAlongCurveParams * MR_BendTextAlongCurveParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_BendTextAlongCurveParams * | _other ) |
Generated from constructor MR::BendTextAlongCurveParams::BendTextAlongCurveParams. Never returns null. Returns an instance allocated on the heap! Must call MR_BendTextAlongCurveParams_Destroy() to free it when you're done using it.
| MRC_API MR_BendTextAlongCurveParams * MR_BendTextAlongCurveParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_BendTextAlongCurveParams_Destroy() to free it when you're done using it.
| MRC_API MR_BendTextAlongCurveParams * MR_BendTextAlongCurveParams_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_BendTextAlongCurveParams_DestroyArray(). Use MR_BendTextAlongCurveParams_OffsetMutablePtr() and MR_BendTextAlongCurveParams_OffsetPtr() to access the array elements.
| MRC_API void MR_BendTextAlongCurveParams_Destroy | ( | const MR_BendTextAlongCurveParams * | _this | ) |
Destroys a heap-allocated instance of MR_BendTextAlongCurveParams. Does nothing if the pointer is null.
| MRC_API void MR_BendTextAlongCurveParams_DestroyArray | ( | const MR_BendTextAlongCurveParams * | _this | ) |
Destroys a heap-allocated array of MR_BendTextAlongCurveParams. Does nothing if the pointer is null.
| MRC_API const bool * MR_BendTextAlongCurveParams_Get_fontBasedSizeCalc | ( | const MR_BendTextAlongCurveParams * | _this | ) |
Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named fontBasedSizeCalc. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_BendTextAlongCurveParams_Get_fontHeight | ( | const MR_BendTextAlongCurveParams * | _this | ) |
Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named fontHeight. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_Vector2f * MR_BendTextAlongCurveParams_Get_pivotBoxPoint | ( | const MR_BendTextAlongCurveParams * | _this | ) |
Position of the curve(pivotCurveTime) in the test' 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::BendTextAlongCurveParams named pivotBoxPoint. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_BendTextAlongCurveParams_Get_pivotCurveTime | ( | const MR_BendTextAlongCurveParams * | _this | ) |
Position on the curve, where bounding box's pivot point is mapped Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named pivotCurveTime. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const bool * MR_BendTextAlongCurveParams_Get_stretch | ( | const MR_BendTextAlongCurveParams * | _this | ) |
stretch whole text along curve to fit in unit curve range Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named stretch. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_BendTextAlongCurveParams_Get_surfaceOffset | ( | const MR_BendTextAlongCurveParams * | _this | ) |
Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named surfaceOffset. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_SymbolMeshParams * MR_BendTextAlongCurveParams_Get_symbolMesh | ( | const MR_BendTextAlongCurveParams * | _this | ) |
parameters of contours to mesh conversion Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named symbolMesh. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool * MR_BendTextAlongCurveParams_GetMutable_fontBasedSizeCalc | ( | MR_BendTextAlongCurveParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named fontBasedSizeCalc. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_BendTextAlongCurveParams_GetMutable_fontHeight | ( | MR_BendTextAlongCurveParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named fontHeight. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_Vector2f * MR_BendTextAlongCurveParams_GetMutable_pivotBoxPoint | ( | MR_BendTextAlongCurveParams * | _this | ) |
Position of the curve(pivotCurveTime) in the test' 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::BendTextAlongCurveParams named pivotBoxPoint. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_BendTextAlongCurveParams_GetMutable_pivotCurveTime | ( | MR_BendTextAlongCurveParams * | _this | ) |
Position on the curve, where bounding box's pivot point is mapped Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named pivotCurveTime. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool * MR_BendTextAlongCurveParams_GetMutable_stretch | ( | MR_BendTextAlongCurveParams * | _this | ) |
stretch whole text along curve to fit in unit curve range Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named stretch. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_BendTextAlongCurveParams_GetMutable_surfaceOffset | ( | MR_BendTextAlongCurveParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named surfaceOffset. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_SymbolMeshParams * MR_BendTextAlongCurveParams_GetMutable_symbolMesh | ( | MR_BendTextAlongCurveParams * | _this | ) |
parameters of contours to mesh conversion Returns a mutable pointer to a member variable of class MR::BendTextAlongCurveParams named symbolMesh. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_BendTextAlongCurveParams * MR_BendTextAlongCurveParams_OffsetMutablePtr | ( | MR_BendTextAlongCurveParams * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API const MR_BendTextAlongCurveParams * MR_BendTextAlongCurveParams_OffsetPtr | ( | const MR_BendTextAlongCurveParams * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API void MR_BendTextAlongCurveParams_Set_fontBasedSizeCalc | ( | MR_BendTextAlongCurveParams * | _this, |
| bool | value ) |
Modifies a member variable of class MR::BendTextAlongCurveParams named fontBasedSizeCalc. Parameter _this can not be null. It is a single object.
| MRC_API void MR_BendTextAlongCurveParams_Set_fontHeight | ( | MR_BendTextAlongCurveParams * | _this, |
| float | value ) |
Modifies a member variable of class MR::BendTextAlongCurveParams named fontHeight. Parameter _this can not be null. It is a single object.
| MRC_API void MR_BendTextAlongCurveParams_Set_pivotBoxPoint | ( | MR_BendTextAlongCurveParams * | _this, |
| MR_Vector2f | value ) |
Position of the curve(pivotCurveTime) in the test' 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::BendTextAlongCurveParams named pivotBoxPoint. Parameter _this can not be null. It is a single object.
| MRC_API void MR_BendTextAlongCurveParams_Set_pivotCurveTime | ( | MR_BendTextAlongCurveParams * | _this, |
| float | value ) |
Position on the curve, where bounding box's pivot point is mapped Modifies a member variable of class MR::BendTextAlongCurveParams named pivotCurveTime. Parameter _this can not be null. It is a single object.
| MRC_API void MR_BendTextAlongCurveParams_Set_stretch | ( | MR_BendTextAlongCurveParams * | _this, |
| bool | value ) |
stretch whole text along curve to fit in unit curve range Modifies a member variable of class MR::BendTextAlongCurveParams named stretch. Parameter _this can not be null. It is a single object.
| MRC_API void MR_BendTextAlongCurveParams_Set_surfaceOffset | ( | MR_BendTextAlongCurveParams * | _this, |
| float | value ) |
Modifies a member variable of class MR::BendTextAlongCurveParams named surfaceOffset. Parameter _this can not be null. It is a single object.
| MRC_API void MR_BendTextAlongCurveParams_Set_symbolMesh | ( | MR_BendTextAlongCurveParams * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_SymbolMeshParams * | value ) |
parameters of contours to mesh conversion Modifies a member variable of class MR::BendTextAlongCurveParams named symbolMesh. Parameter _this can not be null. It is a single object.
| MRC_API MR_expected_MR_Mesh_std_string * MR_bendTextAlongSurfacePath | ( | const MR_Mesh * | mesh, |
| const MR_MeshTriPoint * | start, | ||
| const MR_std_vector_MR_EdgePoint * | path, | ||
| const MR_MeshTriPoint * | end, | ||
| const MR_BendTextAlongCurveParams * | params ) |
Creates symbol mesh and deforms it along given surface path Generated from function MR::bendTextAlongSurfacePath. Parameter mesh can not be null. It is a single object. Parameter start can not be null. It is a single object. Parameter path can not be null. It is a single object. Parameter end can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_TextMeshAlignParams * MR_TextMeshAlignParams_AssignFromAnother | ( | MR_TextMeshAlignParams * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_TextMeshAlignParams * | _other ) |
Generated from method MR::TextMeshAlignParams::operator=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_TextMeshAlignParams * MR_TextMeshAlignParams_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_TextMeshAlignParams * | _other ) |
Generated from constructor MR::TextMeshAlignParams::TextMeshAlignParams. Never returns null. Returns an instance allocated on the heap! Must call MR_TextMeshAlignParams_Destroy() to free it when you're done using it.
| MRC_API MR_TextMeshAlignParams * MR_TextMeshAlignParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TextMeshAlignParams_Destroy() to free it when you're done using it.
| MRC_API MR_TextMeshAlignParams * MR_TextMeshAlignParams_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_TextMeshAlignParams_DestroyArray(). Use MR_TextMeshAlignParams_OffsetMutablePtr() and MR_TextMeshAlignParams_OffsetPtr() to access the array elements.
| MRC_API void MR_TextMeshAlignParams_Destroy | ( | const MR_TextMeshAlignParams * | _this | ) |
Destroys a heap-allocated instance of MR_TextMeshAlignParams. Does nothing if the pointer is null.
| MRC_API void MR_TextMeshAlignParams_DestroyArray | ( | const MR_TextMeshAlignParams * | _this | ) |
Destroys a heap-allocated array of MR_TextMeshAlignParams. Does nothing if the pointer is null.
| MRC_API const MR_AlignType * MR_TextMeshAlignParams_Get_align | ( | const MR_TextMeshAlignParams * | _this | ) |
Returns a pointer to a member variable of class MR::TextMeshAlignParams named align. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_Vector3f * MR_TextMeshAlignParams_Get_direction | ( | const MR_TextMeshAlignParams * | _this | ) |
Direction of text, must be not zero Returns a pointer to a member variable of class MR::TextMeshAlignParams named direction. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const bool * MR_TextMeshAlignParams_Get_fontBasedSizeCalc | ( | const MR_TextMeshAlignParams * | _this | ) |
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. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const int * MR_TextMeshAlignParams_Get_fontDetalization | ( | const MR_TextMeshAlignParams * | _this | ) |
Returns a pointer to a member variable of class MR::TextMeshAlignParams named fontDetalization. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_TextMeshAlignParams_Get_fontHeight | ( | const MR_TextMeshAlignParams * | _this | ) |
Font height, meters Returns a pointer to a member variable of class MR::TextMeshAlignParams named fontHeight. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_TextMeshAlignParams_Get_MaxGeneratedFontHeight | ( | void | ) |
Returns a pointer to a member variable of class MR::TextMeshAlignParams named MaxGeneratedFontHeight. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_std_filesystem_path * MR_TextMeshAlignParams_Get_pathToFontFile | ( | const MR_TextMeshAlignParams * | _this | ) |
Returns a pointer to a member variable of class MR::TextMeshAlignParams named pathToFontFile. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_Vector2f * MR_TextMeshAlignParams_Get_pivotPoint | ( | const MR_TextMeshAlignParams * | _this | ) |
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. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_MeshTriPoint * MR_TextMeshAlignParams_Get_startPoint | ( | const MR_TextMeshAlignParams * | _this | ) |
Position on mesh, where text's pivot point is mapped Returns a pointer to a member variable of class MR::TextMeshAlignParams named startPoint. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_TextMeshAlignParams_Get_surfaceOffset | ( | const MR_TextMeshAlignParams * | _this | ) |
Text mesh inside and outside offset of input mesh Returns a pointer to a member variable of class MR::TextMeshAlignParams named surfaceOffset. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_Vector2f * MR_TextMeshAlignParams_Get_symbolsDistanceAdditionalOffset | ( | const MR_TextMeshAlignParams * | _this | ) |
Returns a pointer to a member variable of class MR::TextMeshAlignParams named symbolsDistanceAdditionalOffset. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_TextMeshAlignParams_Get_symbolsThicknessOffsetModifier | ( | const MR_TextMeshAlignParams * | _this | ) |
Returns a pointer to a member variable of class MR::TextMeshAlignParams named symbolsThicknessOffsetModifier. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_std_string * MR_TextMeshAlignParams_Get_text | ( | const MR_TextMeshAlignParams * | _this | ) |
Returns a pointer to a member variable of class MR::TextMeshAlignParams named text. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_TextMeshAlignParams_Get_textMaximumMovement | ( | const MR_TextMeshAlignParams * | _this | ) |
Maximum possible movement of text mesh alignment, meters Returns a pointer to a member variable of class MR::TextMeshAlignParams named textMaximumMovement. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_Vector3f *const * MR_TextMeshAlignParams_Get_textNormal | ( | const MR_TextMeshAlignParams * | _this | ) |
Text normal to surface, if nullptr - use mesh normal at startPoint Returns a pointer to a member variable of class MR::TextMeshAlignParams named textNormal. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_AlignType * MR_TextMeshAlignParams_GetMutable_align | ( | MR_TextMeshAlignParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named align. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_Vector3f * MR_TextMeshAlignParams_GetMutable_direction | ( | MR_TextMeshAlignParams * | _this | ) |
Direction of text, must be not zero Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named direction. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool * MR_TextMeshAlignParams_GetMutable_fontBasedSizeCalc | ( | MR_TextMeshAlignParams * | _this | ) |
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. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API int * MR_TextMeshAlignParams_GetMutable_fontDetalization | ( | MR_TextMeshAlignParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named fontDetalization. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_TextMeshAlignParams_GetMutable_fontHeight | ( | MR_TextMeshAlignParams * | _this | ) |
Font height, meters Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named fontHeight. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_std_filesystem_path * MR_TextMeshAlignParams_GetMutable_pathToFontFile | ( | MR_TextMeshAlignParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named pathToFontFile. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_Vector2f * MR_TextMeshAlignParams_GetMutable_pivotPoint | ( | MR_TextMeshAlignParams * | _this | ) |
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. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_MeshTriPoint * MR_TextMeshAlignParams_GetMutable_startPoint | ( | MR_TextMeshAlignParams * | _this | ) |
Position on mesh, where text's pivot point is mapped Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named startPoint. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_TextMeshAlignParams_GetMutable_surfaceOffset | ( | MR_TextMeshAlignParams * | _this | ) |
Text mesh inside and outside offset of input mesh Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named surfaceOffset. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_Vector2f * MR_TextMeshAlignParams_GetMutable_symbolsDistanceAdditionalOffset | ( | MR_TextMeshAlignParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named symbolsDistanceAdditionalOffset. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_TextMeshAlignParams_GetMutable_symbolsThicknessOffsetModifier | ( | MR_TextMeshAlignParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named symbolsThicknessOffsetModifier. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_std_string * MR_TextMeshAlignParams_GetMutable_text | ( | MR_TextMeshAlignParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named text. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_TextMeshAlignParams_GetMutable_textMaximumMovement | ( | MR_TextMeshAlignParams * | _this | ) |
Maximum possible movement of text mesh alignment, meters Returns a mutable pointer to a member variable of class MR::TextMeshAlignParams named textMaximumMovement. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_Vector3f ** MR_TextMeshAlignParams_GetMutable_textNormal | ( | MR_TextMeshAlignParams * | _this | ) |
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. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_SymbolMeshParams * MR_TextMeshAlignParams_MutableUpcastTo_MR_SymbolMeshParams | ( | MR_TextMeshAlignParams * | object | ) |
Upcasts an instance of MR::TextMeshAlignParams to its base class MR::SymbolMeshParams.
| MRC_API MR_TextMeshAlignParams * MR_TextMeshAlignParams_OffsetMutablePtr | ( | MR_TextMeshAlignParams * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API const MR_TextMeshAlignParams * MR_TextMeshAlignParams_OffsetPtr | ( | const MR_TextMeshAlignParams * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API void MR_TextMeshAlignParams_Set_align | ( | MR_TextMeshAlignParams * | _this, |
| MR_AlignType | value ) |
Modifies a member variable of class MR::TextMeshAlignParams named align. Parameter _this can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_direction | ( | MR_TextMeshAlignParams * | _this, |
| MR_Vector3f | value ) |
Direction of text, must be not zero Modifies a member variable of class MR::TextMeshAlignParams named direction. Parameter _this can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_fontBasedSizeCalc | ( | MR_TextMeshAlignParams * | _this, |
| bool | value ) |
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. Parameter _this can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_fontDetalization | ( | MR_TextMeshAlignParams * | _this, |
| int | value ) |
Modifies a member variable of class MR::TextMeshAlignParams named fontDetalization. Parameter _this can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_fontHeight | ( | MR_TextMeshAlignParams * | _this, |
| float | value ) |
Font height, meters Modifies a member variable of class MR::TextMeshAlignParams named fontHeight. Parameter _this can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_pathToFontFile | ( | MR_TextMeshAlignParams * | _this, |
| const char * | value, | ||
| const char * | value_end ) |
Modifies a member variable of class MR::TextMeshAlignParams named pathToFontFile. Parameter _this can not be null. It is a single object. Parameter value is a UTF-8 encoded filesystem path.
| MRC_API void MR_TextMeshAlignParams_Set_pivotPoint | ( | MR_TextMeshAlignParams * | _this, |
| MR_Vector2f | value ) |
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. Parameter _this can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_startPoint | ( | MR_TextMeshAlignParams * | _this, |
| const MR_MeshTriPoint * | value ) |
Position on mesh, where text's pivot point is mapped Modifies a member variable of class MR::TextMeshAlignParams named startPoint. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_surfaceOffset | ( | MR_TextMeshAlignParams * | _this, |
| float | value ) |
Text mesh inside and outside offset of input mesh Modifies a member variable of class MR::TextMeshAlignParams named surfaceOffset. Parameter _this can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_symbolsDistanceAdditionalOffset | ( | MR_TextMeshAlignParams * | _this, |
| MR_Vector2f | value ) |
Modifies a member variable of class MR::TextMeshAlignParams named symbolsDistanceAdditionalOffset. Parameter _this can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_symbolsThicknessOffsetModifier | ( | MR_TextMeshAlignParams * | _this, |
| float | value ) |
Modifies a member variable of class MR::TextMeshAlignParams named symbolsThicknessOffsetModifier. Parameter _this can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_text | ( | MR_TextMeshAlignParams * | _this, |
| const char * | value, | ||
| const char * | value_end ) |
Modifies a member variable of class MR::TextMeshAlignParams named text. Parameter _this can not be null. It is a single object. Parameter value can not be null. If value_end is null, then value is assumed to be null-terminated.
| MRC_API void MR_TextMeshAlignParams_Set_textMaximumMovement | ( | MR_TextMeshAlignParams * | _this, |
| float | value ) |
Maximum possible movement of text mesh alignment, meters Modifies a member variable of class MR::TextMeshAlignParams named textMaximumMovement. Parameter _this can not be null. It is a single object.
| MRC_API void MR_TextMeshAlignParams_Set_textNormal | ( | MR_TextMeshAlignParams * | _this, |
| const MR_Vector3f * | value ) |
Text normal to surface, if nullptr - use mesh normal at startPoint Modifies a member variable of class MR::TextMeshAlignParams named textNormal. Parameter _this can not be null. It is a single object.
| MRC_API const MR_SymbolMeshParams * MR_TextMeshAlignParams_UpcastTo_MR_SymbolMeshParams | ( | const MR_TextMeshAlignParams * | object | ) |
Upcasts an instance of MR::TextMeshAlignParams to its base class MR::SymbolMeshParams. This version is acting on mutable pointers.