Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, TextMeshAlignParams arg0) |
Vector3f | direction (self) |
None | direction (self, Vector3f arg1) |
bool | fontBasedSizeCalc (self) |
None | fontBasedSizeCalc (self, bool arg1) |
float | fontHeight (self) |
None | fontHeight (self, float arg1) |
Vector2f | pivotPoint (self) |
None | pivotPoint (self, Vector2f arg1) |
MeshTriPoint | startPoint (self) |
None | startPoint (self, MeshTriPoint arg1) |
float | surfaceOffset (self) |
None | surfaceOffset (self, float arg1) |
float | textMaximumMovement (self) |
None | textMaximumMovement (self, float arg1) |
Vector3f | textNormal (self) |
None | textNormal (self, Vector3f arg1) |
Public Member Functions inherited from meshlib.mrmeshpy.SymbolMeshParams | |
AlignType | align (self) |
None | align (self, AlignType arg1) |
int | fontDetalization (self) |
None | fontDetalization (self, int arg1) |
os.PathLike | pathToFontFile (self) |
None | pathToFontFile (self, os.PathLike arg1) |
Vector2f | symbolsDistanceAdditionalOffset (self) |
None | symbolsDistanceAdditionalOffset (self, Vector2f arg1) |
float | symbolsThicknessOffsetModifier (self) |
None | symbolsThicknessOffsetModifier (self, float arg1) |
str | text (self) |
None | text (self, str arg1) |
Additional Inherited Members | |
Static Public Attributes inherited from meshlib.mrmeshpy.SymbolMeshParams | |
typing | MaxGeneratedFontHeight = 5.826000213623047 |
Generated from: MR::TextMeshAlignParams
None meshlib.mrmeshpy.TextMeshAlignParams.__init__ | ( | self | ) |
Implicit default constructor.
Reimplemented from meshlib.mrmeshpy.SymbolMeshParams.
None meshlib.mrmeshpy.TextMeshAlignParams.__init__ | ( | self, | |
TextMeshAlignParams | arg0 ) |
Implicit copy constructor.
Reimplemented from meshlib.mrmeshpy.SymbolMeshParams.
Vector3f meshlib.mrmeshpy.TextMeshAlignParams.direction | ( | self | ) |
Direction of text
None meshlib.mrmeshpy.TextMeshAlignParams.direction | ( | self, | |
Vector3f | arg1 ) |
bool meshlib.mrmeshpy.TextMeshAlignParams.fontBasedSizeCalc | ( | self | ) |
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text
None meshlib.mrmeshpy.TextMeshAlignParams.fontBasedSizeCalc | ( | self, | |
bool | arg1 ) |
float meshlib.mrmeshpy.TextMeshAlignParams.fontHeight | ( | self | ) |
Font height, meters
None meshlib.mrmeshpy.TextMeshAlignParams.fontHeight | ( | self, | |
float | arg1 ) |
Vector2f meshlib.mrmeshpy.TextMeshAlignParams.pivotPoint | ( | self | ) |
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
None meshlib.mrmeshpy.TextMeshAlignParams.pivotPoint | ( | self, | |
Vector2f | arg1 ) |
MeshTriPoint meshlib.mrmeshpy.TextMeshAlignParams.startPoint | ( | self | ) |
Start coordinate on mesh, represent lowest left corner of text
None meshlib.mrmeshpy.TextMeshAlignParams.startPoint | ( | self, | |
MeshTriPoint | arg1 ) |
float meshlib.mrmeshpy.TextMeshAlignParams.surfaceOffset | ( | self | ) |
Text mesh inside and outside offset of input mesh
None meshlib.mrmeshpy.TextMeshAlignParams.surfaceOffset | ( | self, | |
float | arg1 ) |
float meshlib.mrmeshpy.TextMeshAlignParams.textMaximumMovement | ( | self | ) |
Maximum possible movement of text mesh alignment, meters
None meshlib.mrmeshpy.TextMeshAlignParams.textMaximumMovement | ( | self, | |
float | arg1 ) |
Vector3f meshlib.mrmeshpy.TextMeshAlignParams.textNormal | ( | self | ) |
Text normal to surface, if nullptr - use mesh normal at `startPoint`
None meshlib.mrmeshpy.TextMeshAlignParams.textNormal | ( | self, | |
Vector3f | arg1 ) |