Returns the Instance ID of the currently drawn instance. Useful when the material’s “Instance Count” is greater than 1, which causes multiple instances of the mesh to be drawn.
Instance IDs are whole numbers ranging from 0 to n-1, where n is the “Instance Count” of the material.
|Instance ID||float||Index of the currently drawn instance, ranging from 0 to Instance Count -1.|
Still Looking for help?Visit Support