Method | Description | |
---|---|---|
CreateTextLabel3D ( string text, System.Windows.Media.Brush textColor, bool isDoubleSided, double height, System.Windows.Media.Media3D.Point3D basePoint, bool isBasePointCenterPoint, System.Windows.Media.Media3D.Vector3D vectorOver, System.Windows.Media.Media3D.Vector3D vectorUp ) : System.Windows.Media.Media3D.ModelVisual3D |
Creates a ModelVisual3D containing a text label. Two vectors: vectorOver and vectorUp are creating the surface on which we are drawing the text. Both those vectors are used for calculation of label size, so it is resonable that each co-ordinate should be 0 or 1. e.g. [1,1,0] or [1,0,1], etc... |
|
ElementWithDescription ( double x, double y, double z, double size, string description ) : System.Windows | ||
GetModelVisual3D ( |
||
GetUIElement ( |
||
UpdateViewToLookDirection ( System.Windows.Media.Media3D.Vector3D lookDirection ) : void |
public static CreateTextLabel3D ( string text, System.Windows.Media.Brush textColor, bool isDoubleSided, double height, System.Windows.Media.Media3D.Point3D basePoint, bool isBasePointCenterPoint, System.Windows.Media.Media3D.Vector3D vectorOver, System.Windows.Media.Media3D.Vector3D vectorUp ) : System.Windows.Media.Media3D.ModelVisual3D | ||
text | string | The string to be drawn |
textColor | System.Windows.Media.Brush | The color of the text. |
isDoubleSided | bool | Visible from both sides? |
height | double | Height of the characters |
basePoint | System.Windows.Media.Media3D.Point3D | The base point of the label |
isBasePointCenterPoint | bool | if set to |
vectorOver | System.Windows.Media.Media3D.Vector3D | Horizontal direction of the label |
vectorUp | System.Windows.Media.Media3D.Vector3D | Vertical direction of the label |
return | System.Windows.Media.Media3D.ModelVisual3D |
public ElementWithDescription ( double x, double y, double z, double size, string description ) : System.Windows | ||
x | double | |
y | double | |
z | double | |
size | double | |
description | string | |
return | System.Windows |
public GetModelVisual3D ( |
||
filterSettings | ||
return | System.Windows.Media.Media3D.ModelVisual3D |
public GetUIElement ( |
||
filterSettings | ||
destinationViewport3D | System.Windows.Controls.Viewport3D | |
return | UIElement |
public UpdateViewToLookDirection ( System.Windows.Media.Media3D.Vector3D lookDirection ) : void | ||
lookDirection | System.Windows.Media.Media3D.Vector3D | |
return | void |