CopyTo Method (LightCollection)
Copies the lights in the collection to an array, starting at the specified array index.
'Declaration
Public Sub CopyTo( _
ByVal () As Light, _
ByVal As Integer _
)
'Usage
Dim instance As LightCollection
Dim array() As Light
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
Parameters
- array
- One-dimension array that is the destination of the lights copied from the collection.
- arrayIndex
- Zero-based index in array at which copying begins.