#include <MRAlignTextToMesh.h>
◆ direction
| Vector3f MR::TextMeshAlignParams::direction |
Direction of text, must be not zero.
◆ fontBasedSizeCalc
| bool MR::TextMeshAlignParams::fontBasedSizeCalc { false } |
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text.
◆ fontHeight
| float MR::TextMeshAlignParams::fontHeight {1.0f} |
◆ pivotPoint
| Vector2f MR::TextMeshAlignParams::pivotPoint {0.0f, 0.0f} |
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
◆ startPoint
Position on mesh, where text's pivot point is mapped.
◆ surfaceOffset
| float MR::TextMeshAlignParams::surfaceOffset {1.0f} |
Text mesh inside and outside offset of input mesh.
◆ textMaximumMovement
| float MR::TextMeshAlignParams::textMaximumMovement {2.5f} |
Maximum possible movement of text mesh alignment, meters.
◆ textNormal
| const Vector3f* MR::TextMeshAlignParams::textNormal {nullptr} |
Text normal to surface, if nullptr - use mesh normal at startPoint
The documentation for this struct was generated from the following file: