Click or drag to resize
Ab4d.SharpEngine logo

SceneNodeDispose Method

Dispose method disposes resources that are created by this SceneNode (for example Mesh in PyramidModelNode or LineMaterial when LineNode is created with setting LineColor). It does not dispose the resources that are created by the user and then set to properties in this SceneNode (for example when a StandardMaterial is assigned to the Material property or Mesh is assigned to the MeshModelNode). To also dispose the meshes and materials use the specialized dispose methods: DisposeWithMaterial(Boolean), DisposeWithMeshAndMaterial(Boolean, Boolean), DisposeWithMaterial, DisposeAllChildren(Boolean, Boolean, Boolean, Boolean), DisposeWithAllChildren(Boolean, Boolean, Boolean, Boolean), DisposeChildren(Int32, Int32, Boolean, Boolean, Boolean, Boolean).

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public void Dispose()

Implements

IDisposableDispose
See Also