Click or drag to resize
AB4D logo

CameraAxisPanelCreateAxisVisual Method

CreateAxisVisual creates a Visual3D that represents the axis 3D model. NOTE: When overridden to create custom axis, you also need to override the SetAxisLength method.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
protected virtual Visual3D CreateAxisVisual(
	double axesLength
)

Parameters

axesLength  Double
initial length of the axis.

Return Value

Visual3D
Visual3D that represents the axis 3D model
Remarks

CreateAxisVisual creates a Visual3D that represents the axis 3D model.

NOTE: When CreateAxisVisual is overridden to create custom axis, you also need to override the SetAxisLength and SetAxisColors methods.

See Also