|
InstancedMeshGeometryVisual3DUpdate(Int32, Int32, Boolean) Method |
Update method updates instance data specified with startIndex, count parameters and updateBounds.
This method can be called after some instance transformations or colors were changed.
NOTE: If multiple sections of data are changed, do not call this method multiple times - it is faster to call
Update only once.
Namespace: Ab3d.VisualsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax public void Update(
int startIndex,
int count,
bool updateBounds
)
Parameters
- startIndex Int32
- index of the first instance that was changed and need to be updated
- count Int32
- number of instances that were changed and need to be updated
- updateBounds Boolean
- when true, the bounding box of the InstancedMeshGeometryVisual3D will be updated (this can take some time but is needed when this object's bounds change the bounds of the whole scene)
See Also