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.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
an array of WorldColorInstanceData structs that define the world transformations (positions, scales, rotations) and colors or instanced geometry objects