Base |
The BaseVisual3D type exposes the following members.
Name | Description | |
---|---|---|
BeginInit | Signals the line 3D that initialization is starting. | |
CreateModel | Creates this Model3D | |
EndInit | Signals the line 3D that initialization is complete. | |
GetContent | GetContent return the Model3D from the Content property (when this Visual3D is visible) or from the protected savedHiddenContent field (when this Visual3D is hidden, then the Model3D from the Content is set to savedHiddenContent field so that Content can be set to null to hide this Visual3D). | |
OnIsVisibleChanged | OnIsVisibleChanged is called when the value of IsActuallyVisible property is changed. | |
OnParentChanged | OnParentChanged | |
OnPropertyChanged | OnPropertyChanged method calls UpdateContentIfNotInitializing that recreates the model is visible (IsVisible is true) and if not initializing (between BeginInit and EndInit). | |
OnVisualParentChanged |
OnVisualParentChanged
(Overrides Visual3DOnVisualParentChanged(DependencyObject)) | |
SetContent | SetContent method sets the specified model3D to the Content property (when this Visual3D is visible), or to the savedHiddenContent field (when this Visual3D is hidden, then the Model3D from the Content is set to savedHiddenContent field so that Content can be set to null to hide this Visual3D). | |
UpdateContentIfNotInitializing | Recreates the models if the Visual3D is visible (IsVisible is true) and it is not initializing (between BeginInit and EndInit) | |
ValidateDoublePropertyValue | Returns true if value is valid double | |
ValidatePositiveDoublePropertyValue | Returns true if value is valid double and is positive | |
ValidatePositiveIntPropertyValue | Returns true if value is positive integer | |
ValidateSize3DOneZeroAllowedPropertyValue | Returns true if the value is a valid Size3D object used for Box3D (one size component is allowed to be zero) | |
ValidateSize3DPropertyValue | Returns true if the value is a valid Size3D object | |
ValidateSizePropertyValue | Returns true if the value is a valid Size object |
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) |