IBaseSceneEntity Interface Methods
For a list of all members of this type, see IBaseSceneEntity members.
Public Methods
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from System.IDisposable) | |
GetEntity<T> | Gets the first child entity of type T | |
GetSelectionId | Overloaded. Gets the selection identifier under the mouse point. Use IEntityIdProvider to decode into mesh and vertex Ids | |
OnAttached | Called immediately after an entity is attached to a parent | |
OnDetached | Called immediate before an entity is detached from a parent | |
OnEngineRestart | Called when the D3DEngine Restarts. Meshes and DirectX related objects should be recreated | |
PerformSelection | Performs selection on this entity, setting the IsSelected flag to True or False on the specified Vertex Ids | |
Render | Renders this entity with the current scene and render pass data | |
SetRenderPassData | Sets the current IRenderPassInfo3D, which contains the data needed for this render pass | |
Update | Updates this entity with the current scene time | |
VisitEntities | Implements the Visitor Pattern, visiting all Child entities (and their children) performing the operation on each one. Use this when you want to set a property on all entities in the scene, or perform a certain function on all entities |
Extension Methods
Name | Description | |
---|---|---|
SafeDispose | Checks for null and if not null, calls Dispose |
See Also