 |
AxisWithLabelsNode(BitmapTextCreator, Vector3, Vector3, ICamera, String, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic AxisWithLabelsNode(
BitmapTextCreator bitmapTextCreator,
Vector3 axisStartPosition,
Vector3 axisEndPosition,
ICamera? camera = null,
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)
- axisStartPosition Vector3
- axis's start position
- axisEndPosition Vector3
- axis's end position
- camera ICamera (Optional)
- optional 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