Static Public Member Functions | |
| static float | MaxGeneratedFontHeight () |
| static meshlib.TextMeshAlignParams | staticDowncastFromSymbolMeshParams (meshlib.SymbolMeshParams object) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Generated from class MR::TextMeshAlignParams. Base classes: Direct: (non-virtual) MR::SymbolMeshParams
Instances created here own their C++ objects, see CppObject.
| meshlib.TextMeshAlignParams.TextMeshAlignParams | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.TextMeshAlignParams.TextMeshAlignParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_TextMeshAlignParams_DefaultConstruct().
| meshlib.TextMeshAlignParams.TextMeshAlignParams | ( | meshlib.TextMeshAlignParams | _other | ) |
Generated from constructor MR::TextMeshAlignParams::TextMeshAlignParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_TextMeshAlignParams_ConstructFromAnother().
| meshlib.AlignType meshlib.TextMeshAlignParams.align | ( | ) |
alignment of the text inside bbox Returns a pointer to a member variable of class MR::TextMeshAlignParams named align. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_align().
| meshlib.TextMeshAlignParams meshlib.TextMeshAlignParams.assignFromAnother | ( | meshlib.TextMeshAlignParams | _other | ) |
Generated from method MR::TextMeshAlignParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_TextMeshAlignParams_AssignFromAnother().
| meshlib.Vector3f meshlib.TextMeshAlignParams.direction | ( | ) |
Direction of text, must be not zero Returns a pointer to a member variable of class MR::TextMeshAlignParams named direction. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_direction().
| boolean meshlib.TextMeshAlignParams.fontBasedSizeCalc | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_fontBasedSizeCalc().
| int meshlib.TextMeshAlignParams.fontDetalization | ( | ) |
Detailization of Bezier curves on font glyphs Returns a pointer to a member variable of class MR::TextMeshAlignParams named fontDetalization. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_fontDetalization().
| float meshlib.TextMeshAlignParams.fontHeight | ( | ) |
Font height, meters Returns a pointer to a member variable of class MR::TextMeshAlignParams named fontHeight. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_fontHeight().
|
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().
| meshlib.std_filesystem_path meshlib.TextMeshAlignParams.pathToFontFile | ( | ) |
Path to font file Returns a pointer to a member variable of class MR::TextMeshAlignParams named pathToFontFile. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_pathToFontFile().
| meshlib.Vector2f meshlib.TextMeshAlignParams.pivotPoint | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_pivotPoint().
| void meshlib.TextMeshAlignParams.setAlign | ( | meshlib.AlignType | value | ) |
alignment of the text inside bbox Modifies a member variable of class MR::TextMeshAlignParams named align. The reference to the parameter value might be preserved in this object in element align.
Calls MR_TextMeshAlignParams_Set_align().
| void meshlib.TextMeshAlignParams.setDirection | ( | meshlib.Vector3f | value | ) |
Direction of text, must be not zero Modifies a member variable of class MR::TextMeshAlignParams named direction. The reference to the parameter value might be preserved in this object in element direction.
Calls MR_TextMeshAlignParams_Set_direction().
| void meshlib.TextMeshAlignParams.setFontBasedSizeCalc | ( | boolean | 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.
Calls MR_TextMeshAlignParams_Set_fontBasedSizeCalc().
| void meshlib.TextMeshAlignParams.setFontDetalization | ( | int | value | ) |
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.setFontHeight | ( | float | value | ) |
Font height, meters Modifies a member variable of class MR::TextMeshAlignParams named fontHeight.
Calls MR_TextMeshAlignParams_Set_fontHeight().
| void meshlib.TextMeshAlignParams.setPathToFontFile | ( | java.lang.String | value | ) |
Path to font file Modifies a member variable of class MR::TextMeshAlignParams named pathToFontFile. The reference to the parameter value might be preserved in this object in element pathToFontFile.
Calls MR_TextMeshAlignParams_Set_pathToFontFile().
| void meshlib.TextMeshAlignParams.setPivotPoint | ( | meshlib.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. The reference to the parameter value might be preserved in this object in element pivotPoint.
Calls MR_TextMeshAlignParams_Set_pivotPoint().
| void meshlib.TextMeshAlignParams.setStartPoint | ( | meshlib.MeshTriPoint | value | ) |
Position on mesh, where text's pivot point is mapped Modifies a member variable of class MR::TextMeshAlignParams named startPoint. The reference to the parameter value might be preserved in this object in element startPoint.
Calls MR_TextMeshAlignParams_Set_startPoint().
| void meshlib.TextMeshAlignParams.setSurfaceOffset | ( | float | value | ) |
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.setSymbolsDistanceAdditionalOffset | ( | meshlib.Vector2f | value | ) |
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. The reference to the parameter value might be preserved in this object in element symbolsDistanceAdditionalOffset.
Calls MR_TextMeshAlignParams_Set_symbolsDistanceAdditionalOffset().
| void meshlib.TextMeshAlignParams.setSymbolsThicknessOffsetModifier | ( | float | value | ) |
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.setText | ( | java.lang.String | value | ) |
Text that will be made mesh Modifies a member variable of class MR::TextMeshAlignParams named text. The reference to the parameter value might be preserved in this object in element text.
Calls MR_TextMeshAlignParams_Set_text().
| void meshlib.TextMeshAlignParams.setTextMaximumMovement | ( | float | value | ) |
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.setTextNormal | ( | meshlib.Vector3f | value | ) |
Text normal to surface, if nullptr - use mesh normal at startPoint Modifies a member variable of class MR::TextMeshAlignParams named textNormal. The reference to the parameter value might be preserved in this object in element textNormal.
Calls MR_TextMeshAlignParams_Set_textNormal().
| meshlib.MeshTriPoint meshlib.TextMeshAlignParams.startPoint | ( | ) |
Position on mesh, where text's pivot point is mapped Returns a pointer to a member variable of class MR::TextMeshAlignParams named startPoint. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_startPoint().
|
static |
Static downcast from the base class MR::SymbolMeshParams. Undefined behavior if the object isn't actually a TextMeshAlignParams. The result refers to object.
Calls MR_TextMeshAlignParams_MutableStaticDowncastFrom_MR_SymbolMeshParams().
| float meshlib.TextMeshAlignParams.surfaceOffset | ( | ) |
Text mesh inside and outside offset of input mesh Returns a pointer to a member variable of class MR::TextMeshAlignParams named surfaceOffset. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_surfaceOffset().
| meshlib.Vector2f meshlib.TextMeshAlignParams.symbolsDistanceAdditionalOffset | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_symbolsDistanceAdditionalOffset().
| float meshlib.TextMeshAlignParams.symbolsThicknessOffsetModifier | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_symbolsThicknessOffsetModifier().
| meshlib.std_string meshlib.TextMeshAlignParams.text | ( | ) |
Text that will be made mesh Returns a pointer to a member variable of class MR::TextMeshAlignParams named text. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_text().
| float meshlib.TextMeshAlignParams.textMaximumMovement | ( | ) |
Maximum possible movement of text mesh alignment, meters Returns a pointer to a member variable of class MR::TextMeshAlignParams named textMaximumMovement. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_textMaximumMovement().
| java.lang.foreign.MemorySegment meshlib.TextMeshAlignParams.textNormal | ( | ) |
Text normal to surface, if nullptr - use mesh normal at startPoint Returns a pointer to a member variable of class MR::TextMeshAlignParams named textNormal. The reference to this object might be preserved as the return value.
Calls MR_TextMeshAlignParams_Get_textNormal(). Some types are raw C types, see the C bindings for the details.
| meshlib.SymbolMeshParams meshlib.TextMeshAlignParams.upcastToSymbolMeshParams | ( | ) |
Upcasts to the base class MR::SymbolMeshParams. The result refers to this object.
Calls MR_TextMeshAlignParams_MutableUpcastTo_MR_SymbolMeshParams().