Click or drag to resize
AB4D logo

BaseModelUIElement3D Class

BaseModelUIElement3D is a base abstract for all model UIElement3D classes that define Material and BackMaterial properties.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.Media.Media3DVisual3D
        System.WindowsUIElement3D
          Ab3d.UIElementsBaseUIElement3D
            Ab3d.UIElementsBaseModelUIElement3D
              More

Namespace: Ab3d.UIElements
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public abstract class BaseModelUIElement3D : BaseUIElement3D

The BaseModelUIElement3D type exposes the following members.

Constructors
 NameDescription
Public methodBaseModelUIElement3D Constructor
Top
Properties
 NameDescription
Public propertyBackMaterial Gets or sets the BackMaterial of the 3D model
Public propertyMaterial Gets or sets the Material of the 3D model
Top
Methods
 NameDescription
Protected methodOnGeometryChanged OnGeometryChanged
Protected methodOnUpdateModel OnUpdateModel is called in response to InvalidateModel and provides a place to set the Visual3DModel property
(Overrides UIElement3DOnUpdateModel)
Protected methodRefreshGeometry Recreates the Visual3D geometry
Protected methodRefreshMaterial Resets the Content's material
Protected methodSetGeometry Sets the Content of the Visual3D
Top
Events
 NameDescription
Public eventGeometryChanged Notify that the geometry was changed
Top
Fields
 NameDescription
Public fieldStatic memberBackMaterialProperty BackMaterialProperty
Public fieldStatic memberMaterialProperty MaterialProperty
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
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.Media.Media3DVisual3D
        System.WindowsUIElement3D
          Ab3d.UIElementsBaseUIElement3D
            Ab3d.UIElementsBaseModelUIElement3D
              Ab3d.UIElementsArrowUIElement3D
              Ab3d.UIElementsBoxUIElement3D
              Ab3d.UIElementsCircleUIElement3D
              Ab3d.UIElementsConeUIElement3D
              Ab3d.UIElementsCylinderUIElement3D
              Ab3d.UIElementsHorizontalPlaneUIElement3D
              Ab3d.UIElementsPlaneUIElement3D
              Ab3d.UIElementsPyramidUIElement3D
              Ab3d.UIElementsSphereUIElement3D
              Ab3d.UIElementsTrapezoidUIElement3D
              Ab3d.UIElementsTubeUIElement3D
              Ab3d.UIElementsVerticalPlaneUIElement3D