|
InstancedTextNode Constructor |
Constructor
Namespace: Ab3d.DirectX.ModelsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax public InstancedTextNode(
FontFamily fontFamily,
FontWeight fontWeight,
int fontBitmapSize = 128,
bool useDynamicInstanceBuffer = false,
string name = null
)
Parameters
- fontFamily FontFamily
- FontFamily
- fontWeight FontWeight
- FontWeight
- fontBitmapSize Int32 (Optional)
- size of the bitmap that will be used to render characters. It is recommended to use size that is power of 2 - for example 64, 128, 256, etc. By default the fontBitmapSize is set to 128 that rendered characters to 128 x 128 texture.
- useDynamicInstanceBuffer Boolean (Optional)
- when true then dynamic instance buffer is created (can be used when instance data is changed very often)
- name String (Optional)
- option name
See Also