Click or drag to resize
Ab4d.SharpEngine logo

AxisWithLabelsNode(BitmapTextCreator, ICamera, String, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public AxisWithLabelsNode(
	BitmapTextCreator bitmapTextCreator,
	ICamera camera,
	string? axisTitle = null,
	string? nodeName = null
)

Parameters

bitmapTextCreator  BitmapTextCreator
BitmapTextCreator that is used to render the title and labels of this axis (to use a different BitmapTextCreator for labels, set LabelsBitmapTextCreator)
camera  ICamera
Camera that is used to update the axis texts directions
axisTitle  String  (Optional)
optional axis title
nodeName  String  (Optional)
optional name of this AxisWithLabelsNode. When only axisTitle is specified, then it is also used for node's Name.
See Also