Camera |
public class CameraAxisPanel : BaseControllerControl
The CameraAxisPanel type exposes the following members.
Name | Description | |
---|---|---|
CameraAxisPanel | Constructor |
Name | Description | |
---|---|---|
Is3DAxesShown | Gets or sets a boolean that specifies if 2D arrows (Show3DAxes = false) or 3D arrows are shown (Show3DAxes = true). Default value is true. | |
IsAxisNameShown | Gets or sets a boolean that specified if the axis names are shown. | |
XAxisColor | Gets or sets the color of X axis. When set to Colors.Transparent, then the axis is hidden. | |
YAxisColor | Gets or sets the color of Y axis. When set to Colors.Transparent, then the axis is hidden. | |
ZAxisColor | Gets or sets the color of Z axis. When set to Colors.Transparent, then the axis is hidden. |
Name | Description | |
---|---|---|
CreateAxisVisual | 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. | |
CreateOneAxisModel3D | CreateOneAxisModel3D creates a Model3D that represents one Axis. | |
CustomizeAxes | CustomizeAxes customizes the show axes with specify custom Vector3D, axis name and axis color for each axis. | |
OnAfterUpdated | OnAfterUpdated | |
OnApplyTemplate |
OnApplyTemplate
(Overrides FrameworkElementOnApplyTemplate) | |
OnTargetCameraChanged |
OnTargetCameraChanged
(Overrides BaseControllerControlOnTargetCameraChanged(BaseCamera, BaseCamera)) | |
SetAxisColors | SetAxisColors changes the colors of the axes. | |
SetAxisLength | SetAxisLength is called to change the length of the axes. |
Name | Description | |
---|---|---|
AfterUpdated | AfterUpdated event is called after the shown elements were updated because the camera or some other property was changed. |
Name | Description | |
---|---|---|
axisViewport3D | axisViewport3D | |
backCanvas | backCanvas - stores TextBlocks with axis names that are behind the axis lines | |
coloredAxisVisual3D | Visual3D that represents the axis Visual 3D. | |
frontCanvas | frontCanvas - stores TextBlocks with axis names that are in front the axis lines | |
Is3DAxesShownProperty | Is3DAxesShownProperty | |
IsAxisNameShownProperty | IsAxisNameShownProperty | |
NAMES_AXIS_LENGTH | Axis length used when no names is specified | |
NO_NAMES_AXIS_LENGTH | Axis length used when no names is specified | |
rootGrid | rootGrid | |
targetPositionCamera | camera used to show the axes | |
XAxisColorProperty | XAxisColorProperty | |
YAxisColorProperty | YAxisColorProperty | |
ZAxisColorProperty | ZAxisColorProperty |