text_block3d_properties.h File Reference

Functions

float getBaseline () const
 Gets the value of BaselineProperty. More...
 
bool isTwoPassRendering () const
 Gets the value of TwoPassRenderingProperty. More...
 
void setTwoPassRendering (bool value)
 Sets the value of TwoPassRenderingProperty. More...
 

Variables

static PropertyType< float > BaselineProperty
 Baseline property. More...
 
static PropertyType< bool > TwoPassRenderingProperty
 TwoPassRendering property. More...
 

Function Documentation

float getBaseline ( ) const

Gets the value of BaselineProperty.

See also
setBaseline()
bool isTwoPassRendering ( ) const

Gets the value of TwoPassRenderingProperty.

See also
setTwoPassRendering()
void setTwoPassRendering ( bool  value)

Sets the value of TwoPassRenderingProperty.

See also
isTwoPassRendering()

Variable Documentation

PropertyType<float> BaselineProperty
static

Baseline property.

Font baseline in 3D space units. The default value is 0.0f.

See also
setBaseline(), getBaseline()
PropertyType<bool> TwoPassRenderingProperty
static

TwoPassRendering property.

Defines whether the Text Block 3D is rendered in two passes. Disabling the two pass rendering improves performance, but can cause invalid rendering result when glyph bounds overlap. The default value is true.

See also
setTwoPassRendering(), isTwoPassRendering()