Click or drag to resize
Ab4d.SharpEngine logo

TextBlockFactoryCreateTextBlock(Vector3, PositionTypes, String, Vector3, Vector3, String) Method

CreateTextBlock that creates a GroupNode with text at the specified position, position type and text orientation. Color of the text, background and the border is specified with the properties in this class.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public GroupNode CreateTextBlock(
	Vector3 position,
	PositionTypes positionType,
	string text,
	Vector3 textDirection,
	Vector3 upDirection,
	string? name = null
)

Parameters

position  Vector3
position as Vector3
positionType  PositionTypes
type of positions as PositionTypes
text  String
text
textDirection  Vector3
direction of the text
upDirection  Vector3
up direction of the text
name  String  (Optional)
optional name of the created GroupNode

Return Value

GroupNode
GroupNode with one or more PlaneModelNode that show the specified text, background and border.
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.TextBlockFactory.CreateTextBlock(System.Numerics.Vector3,Ab4d.SharpEngine.Common.PositionTypes,System.String,System.Numerics.Vector3,System.Numerics.Vector3,System.String)"]

See Also