Model Class

Model control definition.
Public Class Model 
Inherits Environment
This language is not supported or no code example is available.
public class Model : Environment
This language is not supported or no code example is available.
Name Description
Public property AccurateTransparency When true, the Accurate Transparency mode is activated. Accurate Transparency provides slower but more accurate semi-transparent object drawing with support for non-concave objects and for objects intersection. (inherited from Environment).
Public property ActionMode Gets or sets the active viewport action. (inherited from Environment).
Public property ActiveViewport Gets the active viewport.
Public property ActiveViewportIndex Gets or sets the active viewport index.
Public property AllocatedCharDefs Gets the number of loaded character definitions. (inherited from Environment).
Public property AmbientLight Gets or sets the ambient light that is always added to the scene (multiplied by the material's ambient component).
Public property AnimateCamera If true, animates the camera in the commands that change its position or orientation. (inherited from Environment).
Public property AnimateCameraDuration Gets or sets the duration in milliseconds of the camera animations. (inherited from Environment).
Public property AnimationFrameNumber Gets or sets the animation frame number.
Public property AnimationInterval Gets or sets the animation interval.
Public property AnimationStep Gets or sets the animation step that increments the AnimationFrameNumber at each tick of the animation timer. Can be a negative number.
Public property AntiAliasing Gets or sets a value indicating if full screen anti-aliasing is enabled. (inherited from Environment).
Public property AntiAliasingSamples Gets or sets the number of desired samples for Full Screen Anti-Aliasing. The Full Screen Anti-alasing can be set with the AskForAntiAliasing property. (inherited from Environment).
Public property AskForAntiAliasing If true, Full Screen Anti-Aliasing modes are requested during viewport initialization. The number of samples can be set with the AntiAliasingSamples property. (inherited from Environment).
Public property AskForDirect3DLevel9_3 If true, The Direct3D feature level 9_3 is requested during viewport initialization instead of the highest feature level available. (inherited from Environment).
Public property AskForHardwareAcceleration If true, OpenGL accelerated hardware modes are requested during viewport initialization. (inherited from Environment).
Public property AssemblySelectionMode Gets or sets a boolean that determines whether the selection goes inside the BlockReference tree.
Public property AttributeReferenceVisibilityMode Gets or sets the AttributeReferences visibility mode. (inherited from Environment).
Public property AutoRefresh When true the Invalidate() and the CompileUserInterfaceElements() are automatically called after changing the properties that are defined as dependency properties. (inherited from Environment).
Public property Backface Gets or sets the backface settings, shared by all viewports. This settings don't apply to multicolor entities like Mesh for example.
Public property Blocks Block collection. This collection contains block definitions. (inherited from Environment).
Public property BoundingBox Bounding box settings.
Public property ButtonStyle Gets or sets the style used by the ToolBar and ProgressBar buttons. (inherited from Environment).
Public property CameraChangedFrequency The interval, in milliseconds, of CameraChanged events firing. (inherited from Environment).
Public property ClippingPlane1 Clipping plane 1 attributes.
Public property ClippingPlane2 Clipping plane 2 attributes.
Public property ClippingPlane3 Clipping plane 3 attributes.
Public property ClippingPlane4 Clipping plane 4 attributes.
Public property ClippingPlane5 Clipping plane 5 attributes.
Public property ClippingPlane6 Clipping plane 6 attributes.
Public property CompileWires If true, wireframe entities are compiled, otherwise they are drawn on the fly using a buffered approach. (inherited from Environment).
Public property CurrentBlock Gets the current block if a BlockReference is set as current, the OpenBlock otherwise. (inherited from Environment).
Public property CurrentBlockReference Gets the current BlockReference. (inherited from Environment).
Public property CurrentTransformation Gets the accumulated CurrentBlockReference transformation (including its parents transformations). (inherited from Environment).
Public property CursorTypes The cursor types dictionary. (inherited from Environment).
Public property DaysRemaining For internal use only. (inherited from Environment).
Public property DaysTotal For internal use only. (inherited from Environment).
Public property DefaultColor Gets or sets the default color used by top level entities with colorMethodType.byParent color method.
Public property DefaultMaterial Gets or sets the default material attributes used by the entities without their own material.
Public property Entities Gets the EntityList of the CurrentBlock. This collection contains the entities displayed in the viewport. (inherited from Environment).
Public property ErrorInPaint Gets a value indicating if an error occurred during paint. (inherited from Environment).
Public property FaceSelectionAngle Gets or sets the angle (in radians) used to discriminate adjacent triangles in the selection of the faces of Mesh and Solids.
Public property Flat Gets or sets the display settings for Flat mode, shared by all viewports.
Public property Font Gets or sets viewport font (WinForms). (inherited from Environment).
Public property FontFamily Gets or sets viewport font family. (inherited from Environment).
Public property FontSize Gets or sets viewport font. (inherited from Environment).
Public property FontStyle Gets or sets viewport font. (inherited from Environment).
Public property FontWeight Gets or sets viewport font. (inherited from Environment).
Public property ForceHardwareAcceleration Forces accelerated hardware modes. By default, Eyeshot automatically disables hardware acceleration on some embedded GPUs to obtain the maximum level of graphical output consistency between all hardware. In these cases, enabling this property will forcibly activate hardware acceleration, though the resulting graphics output may be unpredictable. (inherited from Environment).
Public property FramesPerSecond Gets current frames per second rate. (inherited from Environment).
Public property GroundPlaneDistance Gets or sets the distance between the ground plane and the model's bounding box expressed as a fraction of the model height.
Public property HasLicense Tells if the product has a license. (inherited from Environment).
Public property HatchPatterns Gets or sets the hatch patterns collection. (inherited from Environment).
Public property HiddenLines Sets the Hidden Lines options.
Public property InstanceId For internal use only. Gets the instance id for the logging. (inherited from Environment).
Public property IsActivated Tells if the product is activated. (inherited from Environment).
Public property IsAnimationRunning Tells if the animation is currently running.
Public property IsAntiAliasingAvailable Returns true if Full Screen Anti-Aliasing is available. (inherited from Environment).
Public property IsBusy Gets background worker thread status. (inherited from Environment).
Public property IsHardwareAccelerated Returns true if OpenGL hardware acceleration is currently in use. (inherited from Environment).
Public property IsImmediateMode Indicates whether the control is using the immediate mode rendering, according to the EnvironmentBase.Renderer value. (inherited from Environment).
Public property IsInFrustumMode Gets or sets the modality used by IsInFrustum() method. (inherited from Environment).
Public property IsOpenRootLevel True if the OpenBlock is the RootBlock, false otherwise. (inherited from Environment).
Public property IsTrialExpired Tells if the trial period has expired. (inherited from Environment).
Public property KeepSceneUpright Gets or sets a flag that keeps the scene upright when doing SetView operations or clicking on the ViewCubeIcon faces.
Public property Layers Layer collection. (inherited from Environment).
Public property LayoutMode Gets or sets the viewports configuration.
Public property Light1 Light 1 attribute.
Public property Light2 Light 2 attribute.
Public property Light3 Light 3 attribute.
Public property Light4 Light 4 attribute.
Public property Light5 Light 5 attribute.
Public property Light6 Light 6 attribute.
Public property Light7 Light 7 attribute.
Public property Light8 Light 8 attribute.
Public property LineTypes Gets or sets the line types collection. (inherited from Environment).
Public property MagnifyingGlass Gets or sets the settings for the magnifying glass displayed under the mouse cursor. (inherited from Environment).
Public property Materials Material collection. This collection contains material definitions.
Public property MaxHatchPatternLines Gets or sets the maximum number of hatch pattern lines allowed for each Hatch. (inherited from Environment).
Public property MaxPatternRepetitions Gets or sets the maximum number of pattern repetitions allowed between two vertices of a curve. (inherited from Environment).
Public property MaxTextureSize Gets the maximum texture size allowed on current OpenGL implementation (in pixel). (inherited from Environment).
Public property Mouse3D 3D mouse settings. (inherited from Environment).
Internal protected (Protected Friend) property Moving Tells if the viewport is performing a zoom-pan-rotate operation. (inherited from Environment).
Public property MultiTouch Gets or sets the Multitouch settings. (inherited from Environment).
Public property MultipleSelection If true, the selection ActionModes work as if the Control key was pressed, selecting multiple entities. (inherited from Environment).
Public property ObjectManipulator The manipulator used to graphically position the selected entities.
Public property OpenBlock Gets the open block. (inherited from Environment).
Public property OpenglExtensions Gets a space-separated list of supported extensions to OpenGL. (inherited from Environment).
Public property Organization For internal use only. (inherited from Environment).
Public property OrientationMode Gets or sets the coordinate system orientation mode.
Public property Parents Gets the stack of the parents of the current BlockReference. (inherited from Environment).
Public property PickBoxSize Gets or sets the pick box size in pixel units. (inherited from Environment).
Public property PlanarShadowOpacity Gets or sets the planar shadow's opacity.
Public property PrintDocumentName Print document name. It also appears during print preview preparation. (inherited from Environment).
Public property ProgressBar Gets or sets the progress bar settings. (inherited from Environment).
Public property Rendered Gets or sets the display settings for Rendered mode, shared by all viewports.
Public property RendererName Gets the name of the renderer. This name is typically specific to a particular configuration of a hardware platform. It does not change from release to release. (inherited from Environment).
Public property RendererVendor Gets the company responsible for this GL implementation. This name does not change from release to release. (inherited from Environment).
Public property RendererVersion Gets graphics API version. (inherited from Environment).
Public property RootBlock Gets the root block. (inherited from Environment).
Public property SelectionBoxColors Gets or sets the colors used to draw the selection box and polygon. (inherited from Environment).
Public property SelectionColor Gets or sets the color of selected entities, shared by all viewports. (inherited from Environment).
Public property SelectionColorDynamic Gets or sets the color for the dynamic selection, shared by all viewports. (inherited from Environment).
Public property SelectionFilterMode Gets or sets the pick filter used by the pick action modes.
Public property SelectionLineWeightScaleFactor Gets or sets the factor applied to the line weight for the selected wireframe entities or Brep.Edges. (inherited from Environment).
Public property SerialNumber For internal use only. (inherited from Environment).
Public property Shaded Gets or sets the display settings for Shaded mode, shared by all viewports.
Public property ShadingLanguageVersion Gets OpenGL Shading Language version. (inherited from Environment).
Public property ShortcutKeys Gets or sets the keyboard shortcuts. (inherited from Environment).
Public property ShowCurveDirection If true, curve direction is displayed. (inherited from Environment).
Public property ShowFps Gets or sets the frame per second rate text visibility status. (inherited from Environment).
Public property ShowNormals Gets or sets the normals visibility status. (inherited from Environment).
Public property SplitterMoving

WinForms: When the viewport control is hosted inside a SplitContainer control an annoying repaint issue is present during SplitContainer splitter moving.

WPF: When the viewport control is hosted inside a Grid control with GridSplitter an annoying repaint issue is present during GridSplitter moving.

Setting properly this flag it can be avoided.

Public property SuspendSetColorForSelection Suspends the set of the color by the SetColorDrawForSelectionAndUpdateIdItemsMap<T>. (inherited from Environment).
Public property TempEntities Temporary Entity collection. This collection contains the entities displayed in the viewport on top of the others as temporary entities. (inherited from Environment).
Public property TextStyles Gets or sets the text styles collection. (inherited from Environment).
Public property Turbo Gets or sets the FastZPR settings. When FastZPR is active a simplified representation of the current geometry is drawn during dynamic movements (Zoom/Pan/Rotate). (inherited from Environment).
Public property Units Obsolete. The active units of measurement.
Public property UseFrameBufferObject When true the frame buffer objects are used. Affects the quality of Realistic shadows. For debugging purpose only. (inherited from Environment).
Public property UseShaders If true, the rendererType.OpenGL renderer uses Phong shading for better lighting, has the DisplayModeSettingsRendered.PlanarReflections with a fading out effect and better performances for the shadowType.Realistic shadows. (inherited from Environment).
Public property Username For internal use only. (inherited from Environment).
Public property ViewportBorder Gets or sets the border settings.
Public property Viewports Gets or sets the list of viewports.
Public property ViewportsGap Gets or sets the gap between viewports.
Public property WaitCursorMode Gets or sets the wait cursor mode. Controls if and when the wait cursor is displayed. (inherited from Environment).
Public property Wireframe Gets or sets the display settings for Wireframe mode, shared by all viewports.
Public property WriteDepthForTransparents When true, adds an extra pass to write transparent entities in the Z buffer.
Public property ZoomFitMode Gets or sets the convexHull type used as optimization during entities zoom fit.
Top
Methods
 
Name Description
Public method Activate(object, EventArgs) For internal use only. (inherited from Environment).
Public method Activate(object, EventArgs, string, string, string) (inherited from Environment).
Public method AdjustNearAndFarPlanes() Adjusts camera near and far planes based on model extents and on origin symbol, grid and shadow visibility status. (inherited from Environment).
Protected method ApplyOpacityMask() Computes the opacity mask that makes the viewports opaque and leaves a transparent space between them. (inherited from Environment).
Public method BeginInit() (inherited from Environment).
Public method CancelWork() Stops the asynchronous background work. (inherited from Environment).
Public method Clear() Clears all the viewport master collections: entities, tempEntities, blocks, layers, materials, text styles, line types and labels. (inherited from Environment).
Internal protected (Protected Friend) method ClearCharDefs() (inherited from Environment).
Public method CloseOpenBlock(bool) Close the OpenBlock and goes back to the visualization of the previously opened block. (inherited from Environment).
Public method CompileUserInterfaceElements() Compiles 3D user interface elements like the origin symbol, the bitmap background, the FEM restraint and load symbols, etc. (inherited from Environment).
Public method CompileUserInterfaceElements(Viewport) Compiles 3D user interface elements like the origin symbol, the bitmap background, the FEM restraint and load symbols, etc. (inherited from Environment).
Internal protected (Protected Friend) method ComputeNonCurrentEntityColor(Entity, Color, bool) Gets the color used to draw the given non-current entity. (inherited from Environment).
Public method CopyTo(Environment, bool) Copies all items inside control master collections (Viewport.Labels, Blocks, Layers, Materials, TextStyles, LineTypes, HatchPatterns)) to the specified Environment control. (inherited from Environment).
Public method CopyToClipboardRaster() Copies a raster image of the current viewport scene on the clipboard. (inherited from Environment).
Public method CopyToClipboardRaster(Size) Copies a raster image of the current viewport scene on the clipboard. (inherited from Environment).
Public method CopyToClipboardRaster(Size, bool, bool) Copies a raster image of the current viewport scene on the clipboard. (inherited from Environment).
Public method CopyToClipboardRaster(Size, double, bool, bool) Copies a raster image of the current viewport scene on the clipboard. (inherited from Environment).
Public method CopyToClipboardRaster(float) Copies a raster image of the current viewport scene on the clipboard. (inherited from Environment).
Public method CopyToClipboardRaster(float, double) Copies a raster image of the current viewport scene on the clipboard. (inherited from Environment).
Public method CopyToClipboardVector(bool) Copies a vectorial image of the current scene of the active viewport on the clipboard. (inherited from Environment).
Protected method CreateAccessibilityInstance() (inherited from Environment).
Public method CreateBOMTable(EntityList, BlockKeyedCollection, string, string, string, string, bool, flowDirection, int) Creates the Bill Of Materials.
Public method CreateBillOfMaterials(EntityList, BlockKeyedCollection, bool, int) Creates the data for the Bill Of Materials.
Protected method CreateShaderParams(DrawSceneParams) For internal use only. (inherited from Environment).
Public method Deactivate(object, EventArgs) Deactivates the product. (inherited from Environment).
Public method DeleteLicenseFile(object, EventArgs) For internal use only. (inherited from Environment).
Public method Static DeleteObject(IntPtr) (inherited from Environment).
Protected method Dispose(bool) Clean up any resources being used. (inherited from Environment).
Public method DoWork(WorkUnit) Accomplishes the work and call WorkUnit.WorkCompleted method. (inherited from Environment).
Protected method Draw3D(DrawSceneParams) Draws model, shadow and bounding box. (inherited from Environment).
Internal protected (Protected Friend) method DrawBackground() Draws the Background of the Environment control. (inherited from Environment).
Protected method DrawForSelection<T>(DrawForSelectionParams<T>) (inherited from Environment).
Internal protected (Protected Friend) method DrawImage(int, int, Bitmap) Draws an image on the Environment's client area. (inherited from Environment).
Protected method DrawOverlay(DrawSceneParams) Draws overlaying UI elements. (inherited from Environment).
Protected method DrawOverlayBlended(DrawSceneParams, bool) (inherited from Environment).
Protected method DrawScene(Viewport, float, float, RectangleF, bool, bool, bool) Main drawing method. (inherited from Environment).
Protected method DrawShadow(float) Draws the model shadow (inherited from Environment).
Internal protected (Protected Friend) method DrawText(int, int, string, Font, Color, Color, ContentAlignment) Draws a text on the Environment's client area. (inherited from Environment).
Internal protected (Protected Friend) method DrawText(int, int, string, Font, Color, Color, ContentAlignment, RotateFlipType) Draws a text on the Environment's client area. (inherited from Environment).
Internal protected (Protected Friend) method DrawText(int, int, string, Font, Color, ContentAlignment) Draws a text on the Environment's client area. (inherited from Environment).
Internal protected (Protected Friend) method DrawTextOutlined(int, int, string, Font, Color, Color, float, ContentAlignment) Draws a text on the Environment's client area. (inherited from Environment).
Protected method DrawTexture(TextureBase, int, int, ContentAlignment, bool) Draws a texture. (inherited from Environment).
Protected method DrawVertexIndices(DrawSceneParams) (inherited from Environment).
Protected method DrawVertices(DrawEntitiesParams) Draws the vertices of the entities. (inherited from Environment).
Internal protected (Protected Friend) method DrawViewport(DrawSceneParams) Draws the viewport. (inherited from Environment).
Protected method DrawViewportBackground(DrawSceneParams) Draws the viewport background and reflections. (inherited from Environment).
Public method EndInit() (inherited from Environment).
Protected method EndZoomPanRotate(Viewport) Ends a sequence of Zoom-Pan-Rotate movements. (inherited from Environment).
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Public method Static EvaluateBoundingBox(ICollection<Entity>, out Point3D, out Point3D) Evaluates the bounding box of a collection of entities without taking care of entity visibility. (inherited from Environment).
Public method ExtrudeText(Text, double, Vector3D, bool, natureType) Extrudes a text creating an array of new meshes.
Public method ExtrudeText(Text, double, double, bool, natureType) Extrudes a text creating an array of new meshes.
Public method ExtrudeText(Text, double, Vector3D, bool) Extrudes a text creating an array of new solids.
Public method ExtrudeText(Text, double, double, bool) Extrudes a text creating an array of new solids.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method FindClosestTriangle(IFace, Point) Finds the closest triangle to the viewer of the specified entity.
Public method FindClosestTriangle(SelectedItem, Point) Finds the closest triangle to the viewer of the specified item (which must be related to an IFace entity and may include the parents stack for nested entities).
Public method FindClosestTriangle(IFace, Point, out Point3D, out int) Finds the closest triangle to the viewer of the specified entity.
Public method FindClosestTriangle(SelectedItem, Point, out Point3D, out int) Finds the closest triangle to the viewer of the specified item (which must be related to an IFace entity and may include the parents stack for nested entities).
Public method FindClosestVertex(Entity, Point, double) Looks for the vertex of the specified entity whose 2D screen projection is closer to the mouse cursor. (inherited from Environment).
Public method FindClosestVertex(Point, double, Type, out HitVertex) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor skipping entities different from entType. (inherited from Environment).
Public method FindClosestVertex(Point, double, Type, out Point3D) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor skipping entities different from entType. (inherited from Environment).
Public method FindClosestVertex(Point, double, Type, out int) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor skipping entities different from entType. (inherited from Environment).
Public method FindClosestVertex(Point, double, out HitVertex) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor. (inherited from Environment).
Public method FindClosestVertex(Point, double, out Point3D) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor. (inherited from Environment).
Public method FindClosestVertex(Point, double, out int) Looks for the model vertex whose 2D screen projection is closer to the mouse cursor. (inherited from Environment).
Public method FindClosestVertices(Entity, Point, double) Looks for the model vertices of the specified entity whose 2D screen projections are closer to the mouse cursor. (inherited from Environment).
Public method FindClosestVertices(Point, double) Looks for the model vertices whose 2D screen projections are closer to the mouse than the maxDistance. (inherited from Environment).
Public method FindClosestVertices(Point, double, Type) Looks for the model vertices whose 2D screen projections are closer to the mouse cursor skipping entities different from entType. (inherited from Environment).
Protected method FireProgressChanged(ProgressChangedEventArgs) Raises the ProgressChanged event. (inherited from Environment).
Protected method FireWorkCancelled(WorkUnitEventArgs) Raises the WorkCancelled event. (inherited from Environment).
Protected method FireWorkCompleted(WorkCompletedEventArgs) Raises the WorkCompleted event. (inherited from Environment).
Protected method FireWorkFailed(WorkFailedEventArgs) Raises the WorkCancelled event. (inherited from Environment).
Protected method FreeCursors() (inherited from Environment).
Public method GetAllCrossingEntities(Rectangle, bool) Returns the list of all the visible and selectable entities geometrically crossing the selection box, regardless of their actual visibility on screen. (inherited from Environment).
Public method GetAllEnclosedEntities(Rectangle) Selects all entities completely enclosed in the specified selection rectangle. (inherited from Environment).
Public method GetAllEntitiesUnderMouseCursor(Point, bool) Returns all the visible (on screen) top level and selectable entities (which may include the parents stack for nested entities) under the mouse cursor in the active viewport. (inherited from Environment).
Public method GetAllItemsUnderMouseCursor(Point, bool) Returns all the visible (on screen) and selectable items (which may include the parents stack for nested entities) under the mouse cursor in the active viewport. (inherited from Environment).
Public method GetAllLabelsUnderMouseCursor(Point, bool) Returns all the visible labels under the mouse cursor in the active viewport. (inherited from Environment).
Public method GetAllVisibleEntities(Rectangle, bool) Returns the list of all visible entities in the specified selection box in the active viewport. (inherited from Environment).
Public method GetAllVisibleItems(Rectangle, bool) Returns the list of all visible items (which may include the parents stack for nested entities) in the specified selection box in the active viewport. (inherited from Environment).
Public method GetAllVisibleLabels(Rectangle, bool) Returns the list of all visible labels in the specified selection box. (inherited from Environment).
Public method Static GetAssembly(out string, out string, out string, out Version, out string) Gets the currently loaded assembly. (inherited from Environment).
Protected method GetComputeEntitiesVisibilityParams<T>(int, IList<T>) For internal use only. (inherited from Environment).
Protected method GetCrossingEntities(Rectangle, bool, bool) Returns the list of all the visible and selectable entities crossing the specified selection box. (inherited from Environment).
Public method GetCrossingEntities(Rectangle, IList<Entity>, bool, bool, Transformation) Returns the list of all the visible and selectable entities crossing the specified selection box. (inherited from Environment).
Public method GetDefaultCursor() Gets the default cursor for the viewport control. (inherited from Environment).
Public method GetDefaultLayoutMode() For internal use only.
Protected method GetDefaultViewport() (inherited from Environment).
Public method Static GetEntityLineType(Entity, LineTypeKeyedCollection, string, LayerKeyedCollection) Returns the entity's line type. (inherited from Environment).
Protected method Static GetEntityLineWeight(Entity, Entity, LayerKeyedCollection) Gets the entity line weight. (inherited from Environment).
Public method GetEntityUnderMouseCursor(Point, bool) Returns the index of the first top level entity under the mouse cursor. (inherited from Environment).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method Static GetInstallFolder() Gets the Eyeshot installation folder. (inherited from Environment).
Public method GetItemUnderMouseCursor(Point, bool) Gets the first item under the mouse cursor (which may include the parents stack for nested entities). (inherited from Environment).
Public method GetLabelUnderMouseCursor(Point, bool) Returns the index of the first label under the mouse cursor. (inherited from Environment).
Protected method GetParentHandle() Gets the handle of the parent control. (inherited from Environment).
Public method GetPixel(int, int) Gets the color of the specified pixel in this viewport (inherited from Environment).
Public method GetPlanarReflectionsPlane() Gets the plane used to draw the planar reflections.
Public method GetPresetManagerThumbnail(int) Returns a thumbnail bitmap of the whole Environment control. The maximum size is 256x256. (inherited from Environment).
Public method Static GetSamplesFolder() Gets the Eyeshot samples path. (inherited from Environment).
Public method GetStackTransformation(Stack<BlockReference>) Gets the cumulative transformation of a blockreference stack. (inherited from Environment).
Public method GetTemporarySelectionFaceData(Stack<BlockReference>, Entity, List<SelectionInfoSubItems>, selectionStatusType) Gives the chance to overriders to get temporary face selection data and optionally to skip temporary face selection drawing. (inherited from Environment).
Protected method GetTextImage(string, Font, Color, Color, ContentAlignment, RotateFlipType, bool) Gets the text bitmap. (inherited from Environment).
Internal protected (Protected Friend) method Static GetTextOutlinedImage(string, Font, Color, Color, RotateFlipType, float) Gets the outlined text image. (inherited from Environment).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Internal protected (Protected Friend) method GetViewportUnderMouse(Point) Returns the viewport under the given mouse position. (inherited from Environment).
Internal protected (Protected Friend) method GetVisibleEntitiesFromBackBuffer(Viewport, byte[], int, int, Rectangle, bool) Returns the indices of the entities read from the back buffer in the selectionBox. (inherited from Environment).
Public method GetVisualRefinementDeviation() Gets the visual refinement deviation value used by the EntityList.Regen method. It's estimated automatically from the root block extents. (inherited from Environment).
Public method InitializeViewports() Ensures that at least one Viewport is present in the Viewports collection. (inherited from Environment).
Public method Invalidate() (inherited from Environment).
Internal protected (Protected Friend) method IsCloserVertex(Point3D, double, double) Tells if the projected point, whose square distance from the mouse cursor is squareDistance, is closer than the currentMinimumSquareDistance. (inherited from Environment).
Public method IsDesignMode() Gets a boolean indicating whether the control is running at design time. (inherited from Environment).
Protected method IsDragAction() Tells if the current ActionMode requires dragging. (inherited from Environment).
Public method IsErrorInPaint() (inherited from Environment).
Protected method IsInputKey(Keys) (inherited from Environment).
Protected method IsSelectAction() Tells if the current ActionMode is one of the selection ones. (inherited from Environment).
Protected method IsSelectByBoxAction() Tells if the current ActionMode is one of the ByBox ones. (inherited from Environment).
Protected method IsSelectByPickAction() Tells if the current ActionMode is one of the ByPick ones. (inherited from Environment).
Protected method IsSelectByPolygonAction() Tells if the current ActionMode is one of the ByPolygon ones. (inherited from Environment).
Public method LicenseFileLocation(object, EventArgs) For internal use only. (inherited from Environment).
Public method LicenseFileLocation(object, EventArgs, bool) For internal use only. (inherited from Environment).
Public method LoadPickCursor() Gets the Pick Cursor stream. (inherited from Environment).
Public method LoadScene(Stream) Obsolete.

Restores the current scene from disk, including entities, textures, blocks and labels.

(inherited from Environment).
Public method LoadScene(string) Obsolete.

Restores the current scene from disk, including entities, textures, blocks and labels.

(inherited from Environment).
Public method Static MakeFace(Plane, IList<IList<Int32>>, IList<Point3D>, bool) Obsolete. Triangulates the specific region. (inherited from Environment).
Public method Static MakeFace(Plane, IList<Int32>, IList<IList<Int32>>, IList<Point3D>) Obsolete. Triangulates the specific region. (inherited from Environment).
Public method Static MakeLoop(IList<ICurve>, int, double, bool) Obsolete. Analyzes a number of entities and returns a closed loop of points starting from the entity at startIndex. You can provide an array of 100 entities an get a 3D loop of a square made up of 4 lines. Entities connection is checked using chordalError parameter, if the end points of two entities are farther of this value they will not be connected. (inherited from Environment).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method MoveToPlane(ICollection<Entity>, Plane) Moves a list of entities from plane XY to the specified plane.
Public method MoveToPlane(ICollection<Entity>, Point3D, Point3D, Point3D) Moves a list of entities from plane XY to the specified plane.
Public method MoveToPlane(IList<Point3D>, Plane) Moves a list of points from plane XY to the specified plane.
Public method NextView() Restores the next view previously saved on the Viewport.SavedViews stack. (inherited from Environment).
Protected method OnAnimationTimerTick(object) Occurs every timer tick. Call base class method when overriding. (inherited from Environment).
Protected method OnDoubleClick(EventArgs) (inherited from Environment).
Protected method OnGotFocus(EventArgs) (inherited from Environment).
Protected method OnHandleCreated(EventArgs) (inherited from Environment).
Protected method OnHandleDestroyed(EventArgs) (inherited from Environment).
Protected method OnKeyDown(KeyEventArgs) (inherited from Environment).
Protected method OnKeyUp(KeyEventArgs) (inherited from Environment).
Protected method OnLostFocus(EventArgs) Synchronize hasFocus parameter, reset action, redraw the control. (inherited from Environment).
Protected method OnManipulationDelta(ManipulationDeltaEventArgs) (inherited from Environment).
Protected method OnManipulationStarting(ManipulationStartingEventArgs) (inherited from Environment).
Internal protected (Protected Friend) method OnMouse3DButtonDown(object, ButtonEventArgs) Occurs every Mouse3DButtonDown event. (inherited from Environment).
Internal protected (Protected Friend) method OnMouse3DButtonUp(object, ButtonEventArgs) Occurs every Mouse3DButtonUp event. (inherited from Environment).
Internal protected (Protected Friend) method OnMouse3DMove(object, MoveEventArgs) Occurs every Mouse3DMove event. (inherited from Environment).
Protected method OnMouseClick(MouseEventArgs) (inherited from Environment).
Protected method OnMouseDown(MouseEventArgs) (inherited from Environment).
Protected method OnMouseEnter(EventArgs) (inherited from Environment).
Protected method OnMouseLeave(EventArgs) (inherited from Environment).
Protected method OnMouseMove(MouseEventArgs) (inherited from Environment).
Protected method OnMouseUp(MouseEventArgs) (inherited from Environment).
Protected method OnMouseWheel(MouseEventArgs) (inherited from Environment).
Internal protected (Protected Friend) method OnMultiTouchClick(object, MouseEventArgs) Occurs every MultiTouchClick event. (inherited from Environment).
Internal protected (Protected Friend) method OnMultiTouchClick(object, MouseButtonEventArgs) (inherited from Environment).
Internal protected (Protected Friend) method OnMultiTouchDoubleClick(object, MouseEventArgs) Occurs every MultiTouchDoubleClick event. (inherited from Environment).
Internal protected (Protected Friend) method OnMultiTouchDoubleClick(object, MouseButtonEventArgs) (inherited from Environment).
Internal protected (Protected Friend) method OnMultiTouchDown(object, TouchEventArgs) Occurs every MultiTouchDown event. (inherited from Environment).
Internal protected (Protected Friend) method OnMultiTouchMove(object, TouchEventArgs) Occurs every MultiTouchMove event. (inherited from Environment).
Internal protected (Protected Friend) method OnMultiTouchUp(object, TouchEventArgs) Occurs every MultiTouchUp event. (inherited from Environment).
Protected method OnPaint(PaintEventArgs) (inherited from Environment).
Protected method OnPaint() (inherited from Environment).
Protected method OnResize(EventArgs) (inherited from Environment).
Protected method OnStylusSystemGesture(StylusSystemGestureEventArgs) (inherited from Environment).
Protected method OnTouchDown(TouchEventArgs) (inherited from Environment).
Protected method OnTouchMove(TouchEventArgs) (inherited from Environment).
Protected method OnTouchUp(TouchEventArgs) (inherited from Environment).
Public method OpenCurrentBlock(bool) Open CurrentBlock. The OriginSymbol and Grid are in the Block reference system. (inherited from Environment).
Public method OpenFile(Stream, Drawings, FileSerializer) Restores the scene synchronously from disk, including entities and all the master collections (layers, blocks, etc.)
Public method OpenFile(string, Drawings, FileSerializer) Restores the scene synchronously from disk, including entities and all the master collections (layers, blocks, etc.)
Public method OrientCamera(Point3D, Point3D) Orients the Camera between the two specified points.
Public method PageSetup(bool, bool, Nullable<Int32>, PaperSize, Nullable<Boolean>) Defines the Page Setup. (inherited from Environment).
Internal protected (Protected Friend) method PaintBackBuffer() Paints the viewport surface without redrawing the whole scene. (inherited from Environment).
Protected method PaintDesignError(Graphics) (inherited from Environment).
Public method PanCamera(Point, Point) Pans the view from one screen point to the other. (inherited from Environment).
Public method PanCamera(Point, Point, bool) Pans the view from one screen point to the other. (inherited from Environment).
Public method PanDown(int) Pans the view downwards. (inherited from Environment).
Public method PanLeft(int) Pans the view to the left. (inherited from Environment).
Public method PanRight(int) Pans the view to the right. (inherited from Environment).
Public method PanUp(int) Pans the view upwards. (inherited from Environment).
Protected method PostRemoveJitteringForFastZPR(RenderContextBase) (inherited from Environment).
Public method PreFilterMessage(int, IntPtr) (inherited from Environment).
Protected method PreRemoveJitteringForFastZPR(DrawSceneParams, bool) (inherited from Environment).
Public method PreviousView() Restores the previous view on the Viewport.SavedViews stack. (inherited from Environment).
Public method Print(bool)
Public method PrintPreview(Size, bool)
Public method ProcessSelection(Rectangle, bool, bool, out int[], List<Int32>, bool) Obsolete.

Selects each entity crossing the specified selection rectangle.

This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.

(inherited from Environment).
Public method ProcessSelection(Rectangle, bool, bool, SelectionChangedEventArgs, bool) Selects each entity crossing the specified selection rectangle. (inherited from Environment).
Protected method ProcessSelectionByPolygon(List<Point2D>, bool, out int[], List<Int32>) Obsolete.

Selects each entity crossing the specified selection polygon.

This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.

(inherited from Environment).
Public method ProcessSelectionByPolygon(List<Point2D>, bool, SelectionChangedEventArgs) Selects each entity crossing the specified selection polygon. (inherited from Environment).
Protected method ProcessSelectionByPolygonEnclosed(List<Point2D>, bool, out int[], List<Int32>) Obsolete.

Selects each entity completely enclosed in the specified selection rectangle.

This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.

(inherited from Environment).
Public method ProcessSelectionByPolygonEnclosed(List<Point2D>, bool, SelectionChangedEventArgs) Selects each entity completely enclosed in the specified selection rectangle. (inherited from Environment).
Protected method ProcessSelectionByPolygonVisibleOnly(List<Point2D>, bool, out int[], List<Int32>) Obsolete.

Selects each visible entity in the specified selection polygon.

This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.

(inherited from Environment).
Public method ProcessSelectionByPolygonVisibleOnly(List<Point2D>, bool, SelectionChangedEventArgs) Selects each visible entity in the specified selection polygon. (inherited from Environment).
Public method ProcessSelectionEnclosed(Rectangle, bool, bool, out int[], List<Int32>) Obsolete.

Selects each entity completely enclosed in the specified selection rectangle.

This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.

(inherited from Environment).
Public method ProcessSelectionEnclosed(Rectangle, bool, bool, SelectionChangedEventArgs) Selects each entity completely enclosed in the specified selection rectangle. (inherited from Environment).
Public method ProcessSelectionVisibleOnly(Rectangle, bool, bool, SelectionChangedEventArgs, bool, bool) Selects only visible entities in the specified rectangle. (inherited from Environment).
Public method ProcessSelectionVisibleOnlyLabels(Rectangle, bool, bool, SelectionChangedEventArgs, bool) Selects only visible labels in the specified rectangle. (inherited from Environment).
Public method ProcessSemiTransparent() Performs semi-transparent entities pre-processing. (inherited from Environment).
Protected method PropagateAttributesAndProcessBlockReferenceForSelection<T>(DrawForSelectionParams<T>, Entity, GfxAttributesWire, drawForSelectionCallback<T>) (inherited from Environment).
Public method Purge() Removes unused items from the Environment master collections (Layers, Blocks, Materials, etc.). (inherited from Environment).
Public method RemoveJittering(string) Creates a block with the selected Entities, computes the center of their bounding box, translates them all of the negative of that quantity and returns a BlockReference to that block. (inherited from Environment).
Public method RemoveJittering(BlockReference) Gets the blockreference entities, computes the center of their bounding box, translates them all of the negative of that quantity and translates the blockreference back to the original position. (inherited from Environment).
Public method RenderToBitmap(Rectangle, double, bool, bool) Returns an image of the current Environment scene of the active viewport. The image can be scaled even to a poster size one. (inherited from Environment).
Public method RenderToBitmap(Rectangle, double, double, bool, bool) Returns an image of the current Environment scene of the active viewport. The image can be scaled even to a poster size one. (inherited from Environment).
Public method RenderToBitmap(RectangleF, Size, bool, bool) Returns an image of the current Environment scene. The image can be scaled even to a poster size one. (inherited from Environment).
Public method RenderToBitmap(RectangleF, Size, double, bool, bool) Returns an image of the current Environment scene. The image can be scaled even to a poster size one. (inherited from Environment).
Public method RenderToBitmap(Size) Returns an image of the current Environment scene. The image can be scaled even to a poster size one. (inherited from Environment).
Public method RenderToBitmap(Size, bool, bool) Returns an image of the current Environment scene. The image can be scaled even to a poster size one. (inherited from Environment).
Public method RenderToBitmap(Size, double, bool, bool) Returns an image of the current Environment scene. The image can be scaled even to a poster size one. (inherited from Environment).
Public method RenderToBitmap(double) Returns an image of the current viewport scene. The image can be scaled even to a poster size one. (inherited from Environment).
Public method RenderToBitmap(double, bool, bool) Returns an image of the current Environment scene of the active viewport. The image can be scaled even to a poster size one. (inherited from Environment).
Public method RenderToBitmap(double, double, bool, bool) Returns an image of the current Environment scene of the active viewport. The image can be scaled even to a poster size one. (inherited from Environment).
Public method ResetOpenBlocks(bool) Close all opened blocks up to the root one. (inherited from Environment).
Public method ResizeBegin() (inherited from Environment).
Protected method ResizeViewports() Resizes the Viewports. (inherited from Environment).
Internal protected (Protected Friend) method RestoreCursor(CursorContainer) // Occurs when the cursor changes. // (inherited from Environment).
Public method RestoreView(Camera) Restores the previously saved view in the active viewport. (inherited from Environment).
Public method RestoreViewportsForDesignTime(DesignTimeFuncHandler) (inherited from Environment).
Public method RotateCamera(Point, Point) Rotates the view simulating the movement between two mouse position.
Public method RotateCamera(Vector3D, double, bool) Rotates the view of the specified amount.
Public method RotateCamera(Vector3D, double, bool, bool) Rotates the view of the specified amount.
Public method RotateCamera(Vector3D, Vector3D) Rotates the view of the specified amount.
Public method RotateCamera(Vector3D, Vector3D, bool) Rotates the view of the specified amount.
Public method RotateCamera(int, int) Rotates the view of the specified amount.
Public method RotateCamera(int, int, bool) Rotates the view of the specified amount.
Public method RotateDown(double) Rotates the view downwards.
Public method RotateLeft(double) Rotates the view to the left.
Public method RotateRight(double) Rotates the view to the right.
Public method RotateUp(double) Rotates the view upwards.
Public method SaveFile(Stream, Drawings, FileSerializer) Saves the current scene synchronously on disk, including entities and all the master collections (layers, blocks, etc.)
Public method SaveFile(string, Drawings, FileSerializer) Saves the current scene synchronously on disk, including entities and all the master collections (layers, blocks, etc.)
Public method SaveScene(Stream) Obsolete. Saves the current scene on disk, including entities, textures, blocks and layouts. (inherited from Environment).
Public method SaveScene(string) Obsolete. Saves the current scene on disk, including entities, textures, blocks and layouts. (inherited from Environment).
Public method SaveView() Saves the current view on the Viewport.SavedViews stack. (inherited from Environment).
Public method SaveView(out Camera) Stores the current view in the active viewport. (inherited from Environment).
Public method ScaleForDPI() Scales the element for high DPI settings. (inherited from Environment).
Public method ScreenToPlane(IList<Point>, Plane) Maps screen coordinates to world coordinates in the active viewport. (inherited from Environment).
Public method ScreenToPlane(IList<Point>, PlaneEquation) Maps screen coordinates to world coordinates in the active viewport. (inherited from Environment).
Public method ScreenToPlane(Point, Plane, out Point3D) Maps screen coordinates to world coordinates in the active viewport. (inherited from Environment).
Public method ScreenToPlane(Point, PlaneEquation, out Point3D) Maps screen coordinates to world coordinates in the active viewport. (inherited from Environment).
Public method ScreenToWorld(Point) Maps screen coordinates to world coordinates. (inherited from Environment).
Public method ScreenToWorld(IList<Point>) Maps screen coordinates to world coordinates. (inherited from Environment).
Public method Static SelectObject(IntPtr, IntPtr) (inherited from Environment).
Public method SetColorDrawForSelection(int) Sets a coded color depending on the entity id. (inherited from Environment).
Public method SetColorDrawForSelectionAndUpdateIdItemsMap<T>(GfxDrawForSelectionParams, ISelectableItem, int, int) Sets a coded color depending on the entity id. (inherited from Environment).
Public method Static SetColorRendered(RenderContextBase, entityNatureType, Material, bool, RenderParams) Rendered mat changer.
Public method Static SetColorShaded(RenderContextBase, entityNatureType, Color, bool, BackfaceSettings) Shaded color changer.
Public method SetCurrent(BlockReference, bool) Sets a BlockReference as current. (inherited from Environment).
Public method SetCurrentStack(Stack<BlockReference>, bool) Sets a sequence of BlockReferences as current. (inherited from Environment).
Public method SetCursor(Cursor) Sets the cursor. (inherited from Environment).
Public method SetDefaultCursor(Cursor) Sets the default cursor for the viewport control. (inherited from Environment).
Public method SetFocus(KeyEventArgs) Sets the focus to the control. (inherited from Environment).
Public method SetParentAsCurrent(bool) Sets the parent of the current BlockReference (if it exists) as current. (inherited from Environment).
Public method SetParentHandle(IntPtr) Sets the handle of the parent control. (inherited from Environment).
Public method SetPrinterSettings(PrinterSettings, bool) Set the printer settings. (inherited from Environment).
Public method SetSelectionAsCurrent(bool) Sets the selected BlockReference as current (if there is one). (inherited from Environment).
Public method SetSelectionScope(Stack<BlockReference>) Sets the parents stack that represents the starting point for the selection.
Public method SetView(Quaternion, Point3D, double, double) Sets the specified view in the active viewport by doing an animation. (inherited from Environment).
Public method SetView(Quaternion, Point3D, double, double, bool) Sets the specified view in the active viewport. (inherited from Environment).
Public method SetView(Vector3D, Vector3D, bool, bool, int, bool) Sets the view direction of the camera to the specified direction. (inherited from Environment).
Public method SetView(Vector3D, Vector3D, bool, int, bool) Sets the view direction of the camera to the specified direction. (inherited from Environment).
Public method SetView(Vector3D, bool, bool, int, bool) Sets the view direction of the camera to the specified direction. (inherited from Environment).
Public method SetView(Vector3D, bool, int, bool) Sets the view direction of the camera to the specified direction. (inherited from Environment).
Public method SetView(viewType) Sets the specified view in the active viewport. (inherited from Environment).
Public method SetView(viewType, bool, bool) Sets the specified view in the active viewport. (inherited from Environment).
Public method SetView(viewType, bool, bool, int, bool) Sets the specified view in the active viewport. (inherited from Environment).
Public method SetViewportsForDesignTime(DesignTimeFuncHandler) (inherited from Environment).
Internal protected (Protected Friend) method SetWaitCursor() (inherited from Environment).
Protected method SimplifyOnFastZPR(DrawSceneParams) (inherited from Environment).
Protected method SimplifyOnFastZPR<T>(DrawBaseParams<T>) (inherited from Environment).
Protected method SortEntitiesForTransparency(Viewport, IList<Entity>) Sorts the transparent entities from the farthest to the nearest to the camera for better rendering. (inherited from Environment).
Public method StartAnimation()

Starts the animation timer. After calling this method the Animate method of all the entities is called periodically to allow the computation of the new entity position.

To animate group of entities the approach is the following:

  1. Create groups of moving objects (using Block class and adding entities to the Block.Entities collection)
  2. Add blocks created at point 1) to the Environment.Blocks collection
  3. Subclass the BlockReference class for each moving group of objects
  4. Override the BlockReference.Animate() method of the class at point 3) and add the code to compute the data for entities transformation at that specific time frame
  5. Override the BlockReference.MoveTo() method of the class at point 3) and add the code to move the objects on the GPU
  6. Override the BlockReference.IsInFrustum() method of the class at point 3) and return true without calling the base to avoid undesired clipping. It might be necessary to override also the bounding box scene extents
  7. Add the block references created at point 3) to the Environment.Entities collection
  8. Call StartAnimation() providing the time interval between each frame
  9. Call StopAnimation() to stop the animation
Public method StartAnimation(int)

Starts the animation timer. After calling this method the Animate method of all the entities is called periodically to allow the computation of the new entity position.

To animate group of entities the approach is the following:

  1. Create groups of moving objects (using Block class and adding entities to the Block.Entities collection)
  2. Add blocks created at point 1) to the Environment.Blocks collection
  3. Subclass the BlockReference class for each moving group of objects
  4. Override the BlockReference.Animate() method of the class at point 3) and add the code to compute the data for entities transformation at that specific time frame
  5. Override the BlockReference.MoveTo() method of the class at point 3) and add the code to move the objects on the GPU
  6. Override the BlockReference.IsInFrustum() method of the class at point 3) and return true without calling the base to avoid undesired clipping. It might be necessary to override also the bounding box scene extents
  7. Add the block references created at point 3) to the Environment.Entities collection
  8. Call StartAnimation() providing the time interval between each frame
  9. Call StopAnimation() to stop the animation
Public method StartAnimation(int, int)

Starts the animation timer. After calling this method the Animate method of all the entities is called periodically to allow the computation of the new entity position.

To animate group of entities the approach is the following:

  1. Create groups of moving objects (using Block class and adding entities to the Block.Entities collection)
  2. Add blocks created at point 1) to the Environment.Blocks collection
  3. Subclass the BlockReference class for each moving group of objects
  4. Override the BlockReference.Animate() method of the class at point 3) and add the code to compute the data for entities transformation at that specific time frame
  5. Override the BlockReference.MoveTo() method of the class at point 3) and add the code to move the objects on the GPU
  6. Override the BlockReference.IsInFrustum() method of the class at point 3) and return true without calling the base to avoid undesired clipping. It might be necessary to override also the bounding box scene extents
  7. Add the block references created at point 3) to the Environment.Entities collection
  8. Call StartAnimation() providing the time interval between each frame
  9. Call StopAnimation() to stop the animation
Public method StartWork(WorkUnit) Starts the work asynchronously. (inherited from Environment).
Internal protected (Protected Friend) method StartZoomPanRotate(MouseEventArgs, Viewport) Starts a sequence of Zoom-Pan-Rotate movements if the proper keys/mouse buttons are pressed. (inherited from Environment).
Public method StopAnimation() Stops the animation timer. Call base class method when overriding.
Public method Static SuspendDesigner(bool) Suspends the events of Environment control for the designer. (inherited from Environment).
Public method SuspendUpdate(bool) Suspends the updates of Environment control. (inherited from Environment).
Internal protected (Protected Friend) method SwapBuffers() Swaps the front and back buffers. (inherited from Environment).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method Unlock(string) Validates the license for runtime usage. (inherited from Environment).
Public method UpdateBoundingBox() Computes the scene bounding box, rebuilds simplified representation and updates some important variables. If the bounding box, grid or shadow are visible, it updates them too. (inherited from Environment).
Public method UpdateDesignModeScene() Used by the designer to update the graphics. (inherited from Environment).
Public method UpdateEnvironment() Updates the environment control in both desing-time and run-time mode. If necessary adjust near and far planes to accomodate origin symbols of various sizes. (inherited from Environment).
Public method UpdateViewportsSizeAndLocation() Updates the Viewports dimensions and locations depending on the LayoutMode property.
Public method UpdateVisibleSelection() This method needs to be called before using one of the visible selection action modes or one of the methods that get the entities (or labels) under the mouse cursor if the Entity.Visible or the Entity.Selectable (or Label.Visible or Label.Selectable in case of labels selection) changed and the camera was not moved. (inherited from Environment).
Public method WndProcMouse3D(IntPtr, int, IntPtr, IntPtr, ref bool) (inherited from Environment).
Public method WorldToScreen(Point3D) Maps world coordinates to screen coordinates. (inherited from Environment).
Public method WorldToScreen(double, double, double) Maps world coordinates to screen coordinates. (inherited from Environment).
Public method WorldToScreen(IList<Point3D>) Maps world coordinates to screen coordinates. (inherited from Environment).
Public method WriteToFileRaster(float, double, string, ImageFormat, bool, bool) Saves a raster image of the current viewport scene on disk. (inherited from Environment).
Public method WriteToFileRaster(float, string, ImageFormat) Saves a raster image of the current viewport scene on disk. (inherited from Environment).
Public method WriteToFileRaster(float, string, ImageFormat, bool, bool) Saves a raster image of the current viewport scene on disk. (inherited from Environment).
Public method WriteToFileVector(bool, string) Saves a vectorial image of the current scene of the active viewport on disk in EMF format. (inherited from Environment).
Public method ZoomCamera(Point, int) Zooms the view of the specified amount. (inherited from Environment).
Public method ZoomCamera(Point, int, bool) Zooms the view of the specified amount. (inherited from Environment).
Public method ZoomCamera(int) Zooms the view of the specified amount. (inherited from Environment).
Public method ZoomCamera(int, bool) Zooms the view of the specified amount. (inherited from Environment).
Public method ZoomCamera(int, double) Zooms the view of the specified amount. (inherited from Environment).
Public method ZoomCamera(int, double, bool) Zooms the view of the specified amount. (inherited from Environment).
Public method ZoomFit() Fits the entire model in the viewport control's client area. (inherited from Environment).
Public method ZoomFit(IList<Entity>, bool) Fits the entire model in the viewport control's client area. (inherited from Environment).
Public method ZoomFit(IList<Entity>, bool, int) Fits the entire model in the viewport control's client area. (inherited from Environment).
Public method ZoomFit(IList<SelectedItem>, int, perspectiveFitType) Fits the selected items. (inherited from Environment).
Public method ZoomFit(IList<SelectedItem>) Fits the selected items. (inherited from Environment).
Public method ZoomFit(IList<SelectedItem>, int) Fits the selected items. (inherited from Environment).
Public method ZoomFit(bool) Fits the entire model in the viewport control's client area. (inherited from Environment).
Public method ZoomFit(bool, int) Fits the entire model in the viewport control's client area. (inherited from Environment).
Public method ZoomFit(int) Fits the entire model in the viewport control's client area. (inherited from Environment).
Public method ZoomFitSelectedLeaves() Fits the selected entities, including the ones inside BlockReferences. (inherited from Environment).
Public method ZoomFitSelectedLeaves(int) Fits the selected entities, including the ones inside BlockReferences. (inherited from Environment).
Public method ZoomFitSelectedLeaves(int, perspectiveFitType) Fits the selected entities, including the ones inside BlockReferences. (inherited from Environment).
Public method ZoomIn(int) Zooms the view in. (inherited from Environment).
Public method ZoomOut(int) Zooms the view out. (inherited from Environment).
Public method ZoomWindow(Point, Point) Zooms to the specified window. (inherited from Environment).
Top
Events
 
Name Description
Public event BoundingBoxChanged Occurs when the scene bounding box has changed. (inherited from Environment).
Public event CameraChanged Occurs when camera changes its position. (inherited from Environment).
Public event CameraMoveBegin Occurs when a camera Zoom/Pan/Rotate camera movement begins. (inherited from Environment).
Public event CameraMoveEnd Occurs when a Zoom/Pan/Rotate camera movement ends. (inherited from Environment).
Public event ErrorOccurred Occurs when an error happens during the drawing. (inherited from Environment).
Public event Mouse3DButtonDown Occurs when a Mouse3D button is pressed. (inherited from Environment).
Public event Mouse3DButtonUp Occurs when a Mouse3D button is pressed. (inherited from Environment).
Public event Mouse3DMove Occurs when a Mouse3D movement operation is performed. (inherited from Environment).
Public event MultiTouchClick Occurs when a finger touches and holds a multitouch surface. (inherited from Environment).
Public event MultiTouchDoubleClick (inherited from Environment).
Public event MultiTouchDown (inherited from Environment).
Public event MultiTouchMove (inherited from Environment).
Public event MultiTouchUp Occurs when a multitouch surface is released. (inherited from Environment).
Public event NavigationTimerTick Occurs during the scene navigation with the keyboard. (inherited from Environment).
Public event ProgressChanged Occurs when the read/write progress has changed. (inherited from Environment).
Public event SelectionChanged Occurs when entity selection has changed. (inherited from Environment).
Public event TouchClick Occurs when a finger touches and holds the touch surface. (inherited from Environment).
Public event TouchDoubleClick Occurs when the touch surface is double-clicked. (inherited from Environment).
Public event ViewChanged Occurs when the SetView is called. (inherited from Environment).
Public event WorkCancelled Occurs when the background work is cancelled. (inherited from Environment).
Public event WorkCompleted Occurs when the background work has completed. (inherited from Environment).
Public event WorkFailed Occurs when the background work has failed. (inherited from Environment).
Top
Fields
 
Name Description
Public field Static AutoRefreshProperty (inherited from Environment).
Public field Static FontFamilyProperty (inherited from Environment).
Public field Static FontSizeProperty (inherited from Environment).
Public field Static FontStyleProperty (inherited from Environment).
Public field Static FontWeightProperty (inherited from Environment).
Public field IsUnlockedAtDesignTime For internal use only. (inherited from Environment).
Public field StandardShaders (inherited from Environment).
Protected field backgroundWorker (inherited from Environment).
Protected field fps Framerate per second counter. (inherited from Environment).
Internal protected (Protected Friend) field hasFocus Hold the focus status. (inherited from Environment).
Protected field shortcutKeys (inherited from Environment).
Top

.NET Framework

Supported in: 4.8

In this article

Definition