 |
SceneUpdate Method |
Update method can be called to update the changed materials and SceneNodes that are attached to the
RootNode.
This method also clears the
DirtyFlags.
This method is usually called from SceneView's
Render(Boolean, Boolean, Boolean) method. It can be also called before hit-testing to update the scene.
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic bool Update(
bool forceUpdateAll = false
)
Parameters
- forceUpdateAll Boolean (Optional)
- when true (false by default), then SceneNodes are updated even when the DirtyFlags indicate that there are no changes in the SceneNodes.
Return Value
Booleantrue when had some changed that were updated (when dirty flags were not None). This means that the Scene data were changed and the GpuBuffer objects need to be updated.
See Also