Protocol

FxLightingAPI_v2

The FxLightingAPI_v2 protocol defines the host interface that allows a plug-in to get information about lights in a scene in a Motion project.

Declaration

@protocol FxLightingAPI_v2

Topics

Getting Lighting Information

- numberOfLightsAtFxTime:

Retrieves the number of lights at the passed-in time.

Required.

- lightInfo:forLight:atTime:

Returns information about a light at a particular time.

Constants

FxLightInfo

Contains lighting information.

FxLightType

The lighting type.

FxInitLightInfo Macro

This macro ensures that the lighting information structure is properly initialized for the current version of the plug-in.

Instance Methods