[]
Represens 3D view (or simply view) specifies parameters that shall be applied to the virtual camera associated with a 3D annotation.
public class Model3DView : PdfDictWrapper, IPdfDict
Public Class Model3DView
Inherits PdfDictWrapper
Implements IPdfDict
| Name | Description |
|---|---|
| Model3DView() | Initializes a new instance of the Model3DStream class. |
| Model3DView(string, in Matrix3D, float?) | Initializes a new instance of the Model3DStream class. |
| Name | Description |
|---|---|
| CameraDistance | Gets or sets a non-negative number indicating a distance in the camera coordinate system along the z axis to the centre of orbit for this view; If this entry is not present, the interactive PDF processor shall determine the centre of orbit. |
| LightingSchemeType | Gets or sets the type of lighting scheme that shall be used when rendering 3D artwork If omitted, the lighting scheme specified in the 3D artwork shall be used. The Model3DLightingSchemeType static class defines the values listed in the PDF specification; this list may be extended in future revisions. |
| Name | Gets or sets the internal name of the view, used to refer to the Model3DView from other objects. If omitted, the external name UIName shall be used. |
| RenderingModeType | Gets or sets the type of render mode to use when rendering 3D artwork. If omitted, the render mode specified in the 3D artwork shall be used. The Model3DRenderingModeType static class defines the values listed in the PDF specification; this list may be extended in future revisions. |
| UIName | Gets or sets the external name of the view, suitable for presentation in a user interface. |
| Name | Description |
|---|---|
| SetBackgroundColor(Color) | Sets the background of the specified Model3DView to a solid color. |
| SetCameraPosition(in Matrix3D) | Sets the transformation matrix that specifies a position and orientation of the camera in world coordinates. |
| TryGetBackgroundColor(out Color) | Attempts to parse the background of the specified Model3DView as a solid color. |
| TryGetCameraPosition(out Matrix3D) | Attempts to get transformation matrix that specifies a position and orientation of the camera in world coordinates. |