SetInstancesData method sets an array of WorldColorInstanceData structs that define the world transformations (positions, scales, rotations) and colors or instanced geometry objects.
By default, the color values in the instancesData are not alpha pre-multiplied. This can be changed by setting the IsPreMultipliedAlphaColor property to true.
Calling this method sets StartInstanceIndex to zero and InstancesCount to the number of elements in the instancesData array.
After each change of InstancesData user must call UpdateInstancesData(Boolean) or UpdateInstancesData(BoundingBox) methods.
This method also gets the BoundingBox of all mesh instances. If you do not know the BoundingBox call the SetInstancesData(WorldColorInstanceData) method.
Namespace:Ab4d.SharpEngine.SceneNodes Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
an array of WorldColorInstanceData structs that define the world transformations (positions, scales, rotations) and colors or instanced geometry objects