Bitmap |
The BitmapTextCreator type exposes the following members.
Name | Description | |
---|---|---|
AdditionalCharacterSpace | Gets or sets additional space after each character. | |
AdditionalLineSpace | Gets or sets additional space after each line. | |
AlphaClipThreshold | 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. | |
BitmapFont | BitmapFont used by this BitmapTextCreator | |
CacheFontGpuImages | When true (by default) than loaded font GpuImages are cached on the Scene's cache. | |
CustomMaterialProvider | 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. | |
CustomMipMapBitmapProvider | 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. | |
IsKerningUsed | Gets or sets a Boolean that specifies if font kerning is used (different distance between characters may be used based on the two characters). | |
IsTwoSided | Gets or sets a Boolean that specifies if the same font material is also set to the BackMaterial property of the MeshModelNode. | |
UnknownChar | 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). |