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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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