Click or drag to resize

TextBatchPrimitive Constructor (GraphicsFont, SetHint, Boolean)

Initializes a text batch primitive with the specified font and setHint, optimized for 2d screen space rendering.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public TextBatchPrimitive(
	GraphicsFont font,
	SetHint setHint,
	bool renderInScreenSpace
)

Parameters

font
Type: AGI.Foundation.GraphicsGraphicsFont
The font used to render text in the text batch.
setHint
Type: AGI.Foundation.GraphicsSetHint
The expected usage for Set and SetPartial methods. See the Set Hint topic for more information on selecting an appropriate value.
renderInScreenSpace
Type: SystemBoolean
Exceptions
ExceptionCondition
ArgumentNullExceptionfont is null.
UnsupportedCaseExceptionsetHint must be a valid enumeration value in SetHint.
Remarks
See Also