CanvasRendererAddText(String, Vector2, EHorizontalAlignment, EVerticalAlignment, ColorValue, CanvasRendererAddTextOptions) Method |
Adds text to rendering queue.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic void AddText(
string text,
Vector2 position,
EHorizontalAlignment horizontalAlign,
EVerticalAlignment verticalAlign,
ColorValue color,
CanvasRendererAddTextOptions options = CanvasRendererAddTextOptions.PixelAlign
)
Parameters
- text String
- The text.
- position Vector2
- The text position.
- horizontalAlign EHorizontalAlignment
- The text horizontal align.
- verticalAlign EVerticalAlignment
- The text vertical align.
- color ColorValue
- The text color.
- options CanvasRendererAddTextOptions (Optional)
-
See Also