Text |
The TextBlockVisual3D type exposes the following members.
Name | Description | |
---|---|---|
AlignWithCamera(BaseCamera) | AlignWithCamera method aligns the TextBlockVisual3D to be oriented so that it faces the specified camera. | |
AlignWithCamera(ProjectionCamera) | AlignWithCamera method aligns the TextBlockVisual3D to be oriented so that it faces the specified camera. | |
CreateModel |
Creates this Model3D
(Overrides BaseVisual3DCreateModel) | |
Dispose | Dispose method frees the VisualBrushes and RenderTargetBitmaps that are created by this TextBlockVisual3D object. | |
OnBorderPropertyChanged | OnBorderPropertyChanged | |
OnPlaneMeshPropertyChanged | OnPlaneMeshPropertyChanged | |
OnRenderBitmapSizePropertyChanged | OnRenderBitmapSizePropertyChanged | |
OnTextBlockPropertyChanged | OnTextBlockPropertyChanged | |
OnVisualParentChanged |
OnVisualParentChanged
(Overrides BaseVisual3DOnVisualParentChanged(DependencyObject)) | |
Refresh | Refresh method measures and recreates the elements and 3D models. | |
UpdateBorder | UpdateBorder method updates the properties of the textBorder Border element. This method can be overridden by a derived class to allow applying custom settings on the Border element. | |
UpdatePlaneMesh | UpdatePlaneMesh sets the value of textGeometryModel3D.Geometry with a new MeshGeometry3D. The new MeshGeometry3D represents the plane where the text texture will be shown. The plane is defined by the CenterPosition, Size, TextDirection and UpDirection properties. This method can be overridden by a derived class to provide custom MeshGeometry3D. | |
UpdateTextBlock | UpdateTextBlock method updates the properties of the textBlock TextBlock element. This method can be overridden by a derived class to allow applying custom settings on the TextBlock element. |
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) |