Scene |
The SceneNode type exposes the following members.
Name | Description | |
---|---|---|
AddChild | Adds the specified SceneNode to the ChildNodes collection of this SceneNode | |
AddChildren | Adds child SceneNodes to the ChildNodes collection of this SceneNode | |
CleanAllDirtyFlags | Clean dirty flags on this and child nodes. This is called after a frame was rendered. | |
ClearChildNodes | Removes all SceneNodes from the ChildNodes collection | |
FindNode | Searches the ChildNodes recursively and returns the SceneNode with the specified name if found; else returns null. | |
ForEachChildNodeT | ForEachChildNode calls the childNodeFoundAction for each SceneNode of type T that is find in the hierarchy of the child SceneNodes starting at this SceneNode's ChildNodes. | |
GetAllDescendantNodes | Returns an enumerable of this SceneNode and all SceneNode that are children of this SceneNode and its children - gets all SceneNode in the hierarchy tree below this SceneNode as flat IEnumerable. | |
GetChildNode | Returns a child SceneNode object with the specified index. | |
GetDetailsText | Returns string that tells details about this SceneNode | |
GetSceneNodesBounds | Returns the Bounds of the scene nodes that are children of the rootSceneNode. The sceneNodesFilter Func can be used to choose which scene nodes to use. | |
GetTotalTransformMatrix | Returns a SharpDX.Matrix that represents the transformation from the Root SceneNode to this SceneNode. The includeThisTransform parameter specifies if transformation from this SceneNode is also included in the returned matrix. | |
InsertChild | Inserts the specified SceneNode to the ChildNodes collection to the specified index | |
Lock | Locks the SceneNode which make it unchangable. Note that Lock can be called only when the DirtyFlags are Unchanged - there are no changes made on this SceneNode. | |
LockChildNodes | LockChildNodes method locks ChildNodes and prevents changing them. After locking SceneNodes they cannot be unlocked again. This is used mostly by SceneNodes that does not contain any ChildNodes - for example for MeshObjectNode. | |
NotifyAllChildSceneNodesChange | Add the changeType to all child SceneNodes. This does not change this SceneNode's dirty flags. | |
NotifyAllParentSceneNodesChange | Add the changeType to all parent SceneNodes. This does not change this SceneNode's dirty flags. | |
NotifySceneNodeChange | Add the SceneNodeDirtyFlags to this SceneNode's DirtyFlags flags. This methods also calls NotifyChange on parent DXScene. | |
RemoveChild | Removes the specified SceneNode from the ChildNodes collection | |
RemoveChildAt | Removes the SceneNode at the specified index from the ChildNodes collection | |
ReplaceChild(Int32, SceneNode) | Replaces the SceneNode at the specified index with the newChildNode | |
ReplaceChild(SceneNode, SceneNode) | Replaces the currentChildNode with the newChildNode | |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString) | |
UnLock | Unlocks the SceneNode. | |
Update | Update method is called on each update phase (before render phase) | |
UpdateBounds | Updates the bounds of this SceneNode if the dirty flags indicates that the bounds could be changed of if the forceUpdate parameter is set to true | |
UpdateWorldBoundingBox | Updates the worldBounds field based on the current worldMatrix and Bounds. | |
UpdateWorldMatrix | UpdateWorldMatrix checks if dirty flags indicate that the final world matrix for this SceneNode needs to be recalculated. |
Name | Description | |
---|---|---|
GetGeometryModel3D |
Returns a WPF's GeometryModel3D that was used to create the specified sceneNode.
If the sceneNode does not define a GeometryModel3D object, then null is returned.
(Defined by Extensions) | |
GetModel3D |
Returns a WPF's Model3D that was used to create the specified sceneNode.
If the sceneNode does not define a Model3D object, then null is returned.
(Defined by Extensions) | |
GetModelVisual3D |
Returns a WPF's ModelVisual3D that was used to create the specified sceneNode or any parent SceneNode (in case searchParentSceneNodes is true).
If a SceneNode that defines a ModelVisual3D is not found, then null is returned.
(Defined by Extensions) | |
GetVisual3D |
Returns a WPF's Visual3D that was used to create the specified sceneNode or any parent SceneNode (in case searchParentSceneNodes is true).
If a SceneNode that defines a Visual3D is not found, then null is returned.
(Defined by Extensions) |