Click or drag to resize
AB4D logo

InstancedTextNode Constructor

Constructor

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
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