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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public void Dispose()

Implements

IDisposableDispose
See Also