ViewInfo Class
Holds information about a view and drawable during an update cycle.
NuGet/Assembly: Carmenta.Engine.5.17.0.nupkg (in the CECustomObjects assembly)
Syntax
public class ViewInfo : EngineObject
Remarks
This class holds information about a view and drawable during an update cycle. Instances of this class are passed to custom operators and datasets, in ICustomOperator.Prepare and ICustomDataSet.Query.
Inheritance Hierarchy
System.Object
EngineObject
ViewInfo
Platforms
Windows, Linux, Android
ViewInfo Members
The ViewInfo type has the following members.
Properties
Name | Description |
---|---|
Area | Gets or sets the update area. |
CameraAngle | Gets the current camera angle (field of view), in a 3D view. |
CameraBearing | Gets the current camera bearing in a 3D view. |
CameraPitch | Gets the camera pitch in a 3D view. |
CameraPoint | Gets the position of the camera in a 3D view. |
CameraRoll | Gets the current camera roll in a 3D view. |
Crs | Gets the current coordinate reference system of the view. |
ExtraCellBorder | Gets or sets a value indicating that the geographic area should be expanded. |
Height | Gets the height of the drawable, in pixels. |
Horizon | Gets the distance to the horizon in a 3D view. |
Is3D | Gets a flag indicating if the view is a 2D or 3D view. |
IsDisposed | Gets a value that tells whether the current ViewInfo has been disposed. Inherited from EngineObject |
LightDirection | Gets the direction to the sun or light source in a 3D view. |
LightHeight | Gets the elevation of the sun or light source in a 3D view. |
NativeHandle | Gets the native Carmenta Engine kernel object the current ViewInfo represents. Inherited from EngineObject |
PixelHeight | Gets the geographic height of a screen pixel. |
PixelWidth | Gets the geographic width of a screen pixel. |
Scale | Gets the inverted nominal view scale. |
SelectionUpdate | Gets a flag indicating if the current update is a selection update. |
SurfacePixelHeight | Gets the requested cell height for surface texture data in a 3D view. |
SurfacePixelWidth | Gets the requested cell width for surface texture data in a 3D view. |
UpdateAttributes | Gets the current updates attributes from the view. |
Width | Gets the width of the drawable, in pixels. |
Methods
Name | Description |
---|---|
Clone | Creates a copy of an object. Inherited from EngineObject |
Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
Equals | Determines whether this instance is equal to another. Inherited from EngineObject |