Drawing3d documented Class Library

Entity Class

Entity is the foundation class for all graphical classes. She contains a Transformation and can ordered in a treestructured system because she is an instance of MNComponent. Additionally, she has a public virtual Paintmethod, which will be called by the parent. To start this painting one of the parents must be setted as Root of a device or as child of Work of a device. In order to that the device starts the painting by its own Paint-Method.
The method Paint is called by the protected method draw. Its better to override draw than Paint, because in the Paintmethod some calls enclose the drawmethod (for example the transformation will be setted).

For a list of all members of this type, see Entity Members .

System.Object
   MNComponent
      Entity
         DrawCtrl
         MeshContainer
         Solid

[Visual Basic]
<Serializable> _
<ToolboxItem(ToolboxItemType:=System.Drawing.Design.ToolboxItem, ToolboxItemTypeName:="System.Drawing.Design.ToolboxItem, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
<DefaultMember(MemberName:="Item")> _
Public Class Entity
    Inherits MNComponent
    Implements ITransform
[C#]
[Serializable]
[ToolboxItem(ToolboxItemType=System.Drawing.Design.ToolboxItem, ToolboxItemTypeName="System.Drawing.Design.ToolboxItem, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DefaultMember(MemberName="Item")]
public class Entity : MNComponent, ITransform

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Drawing3d

Assembly: Drawing3d (in Drawing3d.dll)

See Also

Entity Members | Drawing3d Namespace