Click or drag to resize
AB4D logo

Line3DFactoryCreateColoredAxis3D(Double, Double, Color, Color, Color, Viewport3D) Method

Creates a simple 3D axis that is created from 3 lines - one for x axis, one for y axis and one for z axis.

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static Model3D CreateColoredAxis3D(
	double length,
	double thicknes,
	Color xAxisColor,
	Color yAxisColor,
	Color zAxisColor,
	Viewport3D parentViewport3D
)

Parameters

length  Double
length of the lines
thicknes  Double
line thickness in screen coordinates
xAxisColor  Color
color of X axis
yAxisColor  Color
color of Y axis
zAxisColor  Color
color of Z axis
parentViewport3D  Viewport3D
parent Viewport3D

Return Value

Model3D
Model3D that defines the axis
Remarks

It is possible to create axis with the same color with CreateAxis3D(Double, Double, Color, Viewport3D) method.

See Also