|
CameraAxisPanelCustomizeModels Method |
CustomizeModels can be used to provide advanced customization of the 3D models that are used to show the content of this CameraAxisPanel.
When called with default parameters, then the default values will be used.
Namespace: Ab4d.SharpEngine.OverlayPanelsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public void CustomizeModels(
float axisLength = 25f,
float axisLineRadius = 1,8f,
float axisArrowRadius = 4,4f,
float axisArrowAngle = 50f,
int axisLineSegmentsCount = 8,
float axisCharDistance = 30f,
float axisCharScale = 1f,
float axisCharLineThickness = 2f,
float ambientLightIntensity = 0,15f,
float cameraFieldOfView = 45f
)
Parameters
- axisLength Single (Optional)
- length of the axis line (25 by default)
- axisLineRadius Single (Optional)
- radius of the axis line (1.8f by default)
- axisArrowRadius Single (Optional)
- radius of the axis arrow (4.4f by default)
- axisArrowAngle Single (Optional)
- angle of the axis arrow (50 by default)
- axisLineSegmentsCount Int32 (Optional)
- segments count for the axis line (8 by default)
- axisCharDistance Single (Optional)
- distance of the axis characters (X, Y or Z) from the center of the axis (30 by default)
- axisCharScale Single (Optional)
- scale of the axis characters (1 by default - no scale)
- axisCharLineThickness Single (Optional)
- line thickness of the character lines (2 by default)
- ambientLightIntensity Single (Optional)
- intensity of the ambient light (0.15 by default = 15%)
- cameraFieldOfView Single (Optional)
- field of view for the camera (45 by default)
See Also