MeshLib C# Docs
Loading...
Searching...
No Matches
MR.TextMeshAlignParams Class Reference

Generated from class MR.TextMeshAlignParams. Base classes: Direct: (non-virtual) MR.SymbolMeshParams This is the non-const half of the class. More...

+ Inheritance diagram for MR.TextMeshAlignParams:

Public Member Functions

unsafe TextMeshAlignParams ()
 Constructs an empty (default-constructed) instance.
 
unsafe TextMeshAlignParams (MR._ByValue_TextMeshAlignParams _other)
 Generated from constructor MR.TextMeshAlignParams.TextMeshAlignParams.
 
 TextMeshAlignParams (Const_TextMeshAlignParams _other)
 Generated from constructor MR.TextMeshAlignParams.TextMeshAlignParams.
 
 TextMeshAlignParams (TextMeshAlignParams _other)
 Generated from constructor MR.TextMeshAlignParams.TextMeshAlignParams.
 
unsafe MR.TextMeshAlignParams assign (MR._ByValue_TextMeshAlignParams _other)
 Generated from method MR.TextMeshAlignParams.operator=.
 

Static Public Member Functions

static unsafe implicit operator MR.SymbolMeshParams (TextMeshAlignParams self)
 

Properties

new unsafe MR.MeshTriPoint startPoint [get, protected set]
 Position on mesh, where text's pivot point is mapped.
 
new unsafe ref MR.Vector2f pivotPoint [get]
 
new unsafe ref MR.Vector3f direction [get]
 Direction of text, must be not zero.
 
new unsafe MR.? ConstBox_Vector3f textNormal [get, set]
 Text normal to surface, if nullptr - use mesh normal at startPoint
 
new unsafe ref float fontHeight [get]
 Font height, meters.
 
new unsafe ref float surfaceOffset [get]
 Text mesh inside and outside offset of input mesh.
 
new unsafe ref float textMaximumMovement [get]
 Maximum possible movement of text mesh alignment, meters.
 
new unsafe ref bool fontBasedSizeCalc [get]
 If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text.
 
new unsafe MR.Std.String text [get, protected set]
 
new unsafe ref int fontDetalization [get]
 
new unsafe ref MR.Vector2f symbolsDistanceAdditionalOffset [get]
 
new unsafe ref float symbolsThicknessOffsetModifier [get]
 
new unsafe ref MR.AlignType align [get]
 
new unsafe MR.Std.Filesystem.Path pathToFontFile [get, protected set]
 

Detailed Description

Generated from class MR.TextMeshAlignParams. Base classes: Direct: (non-virtual) MR.SymbolMeshParams This is the non-const half of the class.

Constructor & Destructor Documentation

◆ TextMeshAlignParams() [1/4]

unsafe MR.TextMeshAlignParams.TextMeshAlignParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ TextMeshAlignParams() [2/4]

unsafe MR.TextMeshAlignParams.TextMeshAlignParams ( MR._ByValue_TextMeshAlignParams _other)
inline

Generated from constructor MR.TextMeshAlignParams.TextMeshAlignParams.

◆ TextMeshAlignParams() [3/4]

MR.TextMeshAlignParams.TextMeshAlignParams ( Const_TextMeshAlignParams _other)
inline

Generated from constructor MR.TextMeshAlignParams.TextMeshAlignParams.

◆ TextMeshAlignParams() [4/4]

MR.TextMeshAlignParams.TextMeshAlignParams ( TextMeshAlignParams _other)
inline

Generated from constructor MR.TextMeshAlignParams.TextMeshAlignParams.

Member Function Documentation

◆ assign()

unsafe MR.TextMeshAlignParams MR.TextMeshAlignParams.assign ( MR._ByValue_TextMeshAlignParams _other)
inline

Generated from method MR.TextMeshAlignParams.operator=.

◆ operator MR.SymbolMeshParams()

static unsafe implicit MR.TextMeshAlignParams.operator MR.SymbolMeshParams ( TextMeshAlignParams self)
inlinestatic

Property Documentation

◆ align

new unsafe ref MR.AlignType MR.TextMeshAlignParams.align
get

◆ direction

new unsafe ref MR.Vector3f MR.TextMeshAlignParams.direction
get

Direction of text, must be not zero.

◆ fontBasedSizeCalc

new unsafe ref bool MR.TextMeshAlignParams.fontBasedSizeCalc
get

If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text.

◆ fontDetalization

new unsafe ref int MR.TextMeshAlignParams.fontDetalization
get

◆ fontHeight

new unsafe ref float MR.TextMeshAlignParams.fontHeight
get

Font height, meters.

◆ pathToFontFile

new unsafe MR.Std.Filesystem.Path MR.TextMeshAlignParams.pathToFontFile
getprotected set

◆ pivotPoint

new unsafe ref MR.Vector2f MR.TextMeshAlignParams.pivotPoint
get

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

new unsafe MR.MeshTriPoint MR.TextMeshAlignParams.startPoint
getprotected set

Position on mesh, where text's pivot point is mapped.

◆ surfaceOffset

new unsafe ref float MR.TextMeshAlignParams.surfaceOffset
get

Text mesh inside and outside offset of input mesh.

◆ symbolsDistanceAdditionalOffset

new unsafe ref MR.Vector2f MR.TextMeshAlignParams.symbolsDistanceAdditionalOffset
get

◆ symbolsThicknessOffsetModifier

new unsafe ref float MR.TextMeshAlignParams.symbolsThicknessOffsetModifier
get

◆ text

new unsafe MR.Std.String MR.TextMeshAlignParams.text
getprotected set

◆ textMaximumMovement

new unsafe ref float MR.TextMeshAlignParams.textMaximumMovement
get

Maximum possible movement of text mesh alignment, meters.

◆ textNormal

new unsafe MR.? ConstBox_Vector3f MR.TextMeshAlignParams.textNormal
getset

Text normal to surface, if nullptr - use mesh normal at startPoint


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