Click or drag to resize
Ab4d.SharpEngine logo

SceneNode Methods

The SceneNode type exposes the following members.

Methods
 NameDescription
Protected methodStatic memberCheckIfMaterialIsDisposed CheckIfMaterialIsDisposed
Protected methodStatic memberCheckIfMeshIsDisposed CheckIfMeshIsDisposed
Protected methodStatic memberCheckIfNonZeroPositive(Single, String) CheckIfNonZeroPositive
Protected methodStatic memberCheckIfNonZeroPositive(Vector2, String) CheckIfNonZeroPositive
Protected methodStatic memberCheckIfNonZeroPositive(Vector3, String) CheckIfNonZeroPositive
Protected methodStatic memberCheckIfNotSmallerThan(Int32, Int32, String) CheckIfNotSmallerThan
Protected methodStatic memberCheckIfNotSmallerThan(Single, Single, String) CheckIfNotSmallerThan
Protected methodStatic memberCheckIfPositiveOrZero(Single, String) CheckIfPositiveOrZero
Protected methodStatic memberCheckIfPositiveOrZero(Vector2, String) CheckIfPositiveOrZero
Protected methodStatic memberCheckIfPositiveOrZero(Vector3, String) CheckIfPositiveOrZero
Public methodCleanDirtyFlags Clean dirty flags on this and child nodes. This should be called only after the frame was rendered.
Protected methodClearMeshDirtyFlag Clears the MeshDirty flag
Public methodCollectRenderingItems CollectRenderingItems
Public methodDispose 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).
Protected methodDispose(Boolean) Dispose
(Overrides ComponentBaseDispose(Boolean))
Public methodDisposeRenderingItems DisposeRenderingItems
Public methodGetInvertedWorldMatrix GetInvertedWorldMatrix method gets the inverted WorldMatrix into the matrix out parameter and returns true if matrix can be inverted; otherwise false is returned.
Public methodGetLocalBoundingBox Gets the BoundingBox of this SceneNode in local coordinates. The BoundingBox is transformed by transformation on this SceneNode but not by parent's transformations. This method always returns the value of localBoundingBox. Derived classes can provide additional logic when updateIfDirty is true (for example ModelNode can call UpdateMesh method when mesh is dirty; GroupNode can update mesh on child SceneNodes, etc.).
Public methodGetOverviewText GetOverviewText adds string that writes details about this SceneNode into the specified StringBuilder.
Public methodNotifyAllParentSceneNodesChange Add the changeType to all parent SceneNodes. This does not change this SceneNode's dirty flags.
Public methodNotifyChange Add the SceneNodeDirtyFlags to this SceneNode's DirtyFlags flags. This methods also calls NotifyChange on parent DXScene.
Protected methodOnIsVisibleChanged OnIsVisibleChanged is called when the value of IsVisible property is changed. Overridden implementations should update the IsVisible property of the RenderingItem objects that were already added to RenderingLayers.
Protected methodOnParentChanged OnParentChanged
Protected methodOnTransformChanged OnTransformChanged is called when Transform or Parent's Transform is changed. This method updates the WorldMatrix and sets WorldMatrixChanged dirty flags. The method can be overridden to provide custom transformation handling.
Protected methodOnUpdate OnUpdate
Protected methodOnWorldMatrixChanged OnWorldMatrixChanged
Public methodToString Returns a String that represents this instance.
(Overrides ObjectToString)
Public methodUpdate Update method is called before every rendering and updates the graphics buffers and states objects based on the current value of properties in this SceneNode.
Protected methodUpdateIsVisible UpdateIsVisible
Protected methodUpdateLocalBoundingBox UpdateLocalBoundingBox
Protected methodUpdateWorldBoundingBox UpdateWorldBoundingBox
Protected methodUpdateWorldMatrix UpdateWorldMatrix
Top
See Also