Tube |
public class TubeVisual3D : BaseModelVisual3D
The TubeVisual3D type exposes the following members.
Name | Description | |
---|---|---|
TubeVisual3D | Constructor | |
TubeVisual3D(String) | Constructor |
Name | Description | |
---|---|---|
BottomCenterPosition | Gets or sets the position of the bottom center of the Tube | |
EndAngle | Gets or sets the start angle in degrees. By default the StartAngle and EndAngle are set to 0 and 360 and this creates the whole tube. But when the angle values are changed, it is possible to create only section of the tube - like a arc. | |
Height | Gets or sets the height of Tube. When Height is set to 0, then only one tube ring is created without bottom and top ring. | |
HeightDirection | Gets or sets a Vector3D that specifies the height direction. Default value is up vector (0, 1, 0). | |
InnerRadius | Gets or sets the inner radius of the Tube. | |
OuterRadius | Gets or sets the outer radius of the Tube. | |
Segments | Gets or sets the number of segments that are used to create the circular area of the Tube. Default value is 20. | |
StartAngle | Gets or sets the start angle in degrees. By default the StartAngle and EndAngle are set to 0 and 360 and this creates the whole tube. But when the angle values are changed, it is possible to create only section of the tube - like a arc. |
Name | Description | |
---|---|---|
RefreshGeometry |
Recreates the Visual3D geometry
(Overrides BaseModelVisual3DRefreshGeometry) |
Name | Description | |
---|---|---|
BottomCenterPositionProperty | BottomCenterPositionProperty | |
EndAngleProperty | EndAngleProperty | |
HeightDirectionProperty | HeightDirectionProperty | |
HeightProperty | HeightProperty | |
InnerRadiusProperty | InnerRadiusProperty | |
OuterRadiusProperty | OuterRadiusProperty | |
SegmentsProperty | SegmentsProperty | |
StartAngleProperty | StartAngleProperty |
Name | Description | |
---|---|---|
DumpHierarchy |
Display details about the hierarchy of Visual3D children to Debug console (for example to Visual Studio's Immediate window).
(Defined by Extensions) | |
ForEachGeometryModel3D |
Performs the specified action on each GeometryModel3D inside the rootModelVisual3D.
(Defined by Extensions) | |
ForEachVisual3D |
Performs the specified action on each ModelVisual3D inside the rootModelVisual3D.
(Defined by Extensions) | |
GetName |
Gets name of the Visual3D that was previously set by SetName extension method.
(Defined by Extensions) | |
SetName |
Sets Name property to Visual3D. Note that if name is not correct for WPF, it can be corrected (name must start with a letter or the underscore character (_), and must contain only letters, digits, or underscores).
In this case the SetName method will set the corrected name to the object and return false (in this case you can call GetName to get the corrected name). True is returned when the original name is set to the object.
(Defined by Extensions) |