lightInfo(_:forLight:at:)
Provides information about a light at a particular time.
Declaration
func lightInfo(_ light: UnsafeMutablePointer<FxLight>!, forLight lightIndex: Int, at time: CMTime) throwsParameters
- light:
A pointer to an FxLight structure to receive information about a particular light in the scene.
- lightIndex:
The index of the light whose information you wish to retrieve.
- time:
The time for which you want lighting information.