Click or drag to resize
Ab4d.SharpEngine logo

BitmapTextCreator Properties

The BitmapTextCreator type exposes the following members.

Properties
 NameDescription
Public propertyAdditionalCharacterSpace Gets or sets additional space after each character.
Public propertyAdditionalLineSpace Gets or sets additional space after each line.
Public propertyAlphaClipThreshold Gets or sets a float that specifies at which alpha value the pixel will be skipped in the fragment shader. Default value is 0.1.
Public propertyBitmapFont BitmapFont used by this BitmapTextCreator
Public propertyCacheFontGpuImages When true (by default) than loaded font GpuImages are cached on the Scene's cache.
Public propertyCustomMaterialProvider When CustomMaterialProvider is set, it is used to create the material for the specified font page index. If CustomMaterialProvider is null or if it returns null, then the material is created by the BitmapTextCreator.
Public propertyCustomMipMapBitmapProvider When CustomMipMapBitmapProvider is set, then the Func is called to get the custom mip-map bitmaps. The first parameter is texture file name for the current page, the second parameter is page index and the third parameter is mip level (0 for original bitmap). If this Func is not set, then mip-maps are generated by Vulkan.
Public propertyIsKerningUsed Gets or sets a Boolean that specifies if font kerning is used (different distance between characters may be used based on the two characters).
Public propertyIsTwoSided Gets or sets a Boolean that specifies if the same font material is also set to the BackMaterial property of the MeshModelNode.
Public propertyUnknownChar Gets or sets a character that is displayed in case the character in the specified text is not defined in the bitmap font. By default the UnknownChar is set to space. When UnknownChar is set to null char ('\0') that means that the unknown character is skipped (current position is not changed).
Top
See Also