MeshLib Documentation
Loading...
Searching...
No Matches
MR::TextMeshAlignParams Struct Reference

#include <MRAlignTextToMesh.h>

+ Inheritance diagram for MR::TextMeshAlignParams:

Public Attributes

MeshTriPoint startPoint
 
Vector2f pivotPoint {0.0f, 0.0f}
 
Vector3f direction
 
const Vector3f * textNormal {nullptr}
 
float fontHeight {1.0f}
 
float surfaceOffset {1.0f}
 
float textMaximumMovement {2.5f}
 
bool fontBasedSizeCalc { false }
 
- Public Attributes inherited from MR::SymbolMeshParams
std::string text
 
int fontDetalization {5}
 
Vector2f symbolsDistanceAdditionalOffset { 0.0f, 0.0f }
 
float symbolsThicknessOffsetModifier { 0.0f }
 
AlignType align {AlignType::Left}
 
std::filesystem::path pathToFontFile
 

Additional Inherited Members

- Static Public Attributes inherited from MR::SymbolMeshParams
static constexpr float MaxGeneratedFontHeight = 5826.0f * 1e-3f
 

Member Data Documentation

◆ direction

Vector3f MR::TextMeshAlignParams::direction

◆ fontBasedSizeCalc

bool MR::TextMeshAlignParams::fontBasedSizeCalc { false }

◆ fontHeight

float MR::TextMeshAlignParams::fontHeight {1.0f}

◆ pivotPoint

Vector2f MR::TextMeshAlignParams::pivotPoint {0.0f, 0.0f}

◆ startPoint

MeshTriPoint MR::TextMeshAlignParams::startPoint

◆ surfaceOffset

float MR::TextMeshAlignParams::surfaceOffset {1.0f}

◆ textMaximumMovement

float MR::TextMeshAlignParams::textMaximumMovement {2.5f}

◆ textNormal

const Vector3f* MR::TextMeshAlignParams::textNormal {nullptr}

The documentation for this struct was generated from the following file: