Click or drag to resize
AB4D logo

ConeUIElement3D Class

ConeUIElement3D class is used to create UIElement3D that represents a 3D Cone.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.Media.Media3DVisual3D
        System.WindowsUIElement3D
          Ab3d.UIElementsBaseUIElement3D
            Ab3d.UIElementsBaseModelUIElement3D
              Ab3d.UIElementsConeUIElement3D

Namespace: Ab3d.UIElements
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public class ConeUIElement3D : BaseModelUIElement3D

The ConeUIElement3D type exposes the following members.

Constructors
 NameDescription
Public methodConeUIElement3D Constructor
Top
Properties
 NameDescription
Public propertyBottomCenterPosition Gets or sets the position of the bottom center of the Cone
Public propertyBottomRadius Gets or sets the radius of the bottom circle of the Cone.
Public propertyHeight Gets or sets the height of Cone.
Public propertyIsSmooth Gets or sets the Boolean that specifies if the Cone is smoothly shaded. If false the Cone has sharp edges between segments.
Public propertySegments Gets or sets the number of segments that are used to create the circular area of the Cone. Default value is 20.
Public propertyTopRadius Gets or sets the radius of the top circle of the Cone.
Top
Methods
 NameDescription
Protected methodRefreshGeometry Recreates the Visual3D geometry
(Overrides BaseModelUIElement3DRefreshGeometry)
Top
Fields
 NameDescription
Public fieldStatic memberBottomCenterPositionProperty BottomCenterPositionProperty
Public fieldStatic memberBottomRadiusProperty BottomRadiusProperty
Public fieldStatic memberHeightProperty HeightProperty
Public fieldStatic memberIsSmoothProperty IsSmoothProperty
Public fieldStatic memberSegmentsProperty SegmentsProperty
Public fieldStatic memberTopRadiusProperty TopRadiusProperty
Top
Extension Methods
 NameDescription
Public Extension MethodDumpHierarchy Display details about the hierarchy of Visual3D children to Debug console (for example to Visual Studio's Immediate window).
(Defined by Extensions)
Public Extension MethodGetName Gets name of the Visual3D that was previously set by SetName extension method.
(Defined by Extensions)
Public Extension MethodSetName 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)
Top
See Also