Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVVideoCompositionLayerInstructionMBS class.

AVVideoCompositionLayerInstructionMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The default constructor.

AVVideoCompositionLayerInstructionMBS.copy as AVVideoCompositionLayerInstructionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a copy of the object.

AVVideoCompositionLayerInstructionMBS.getCropRectangleRampForTime(time as CMTimeMBS, byref startCropRectangle as CGRectMBS, byref endCropRectangle as CGRectMBS, byref timeRange as CMTimeRangeMBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Obtains the crop rectangle ramp that includes the specified time.

time: If a ramp with a time range that contains the specified time has been set, information about the effective ramp for that time is supplied. Otherwise, information about the first ramp that starts after the specified time is supplied.
startCropRectangle: A CGRect to receive the starting crop rectangle value for the crop rectangle ramp.
endCropRectangle: A CGRect to receive the ending crop rectangle value for the crop rectangle ramp.
timeRange: A CMTimeRange to receive the time range of the crop rectangle ramp.

Returns false will be returned if the specified time is beyond the duration of the last crop rectangle ramp that has been set.
Available in OS X v10.9 and later.

AVVideoCompositionLayerInstructionMBS.getOpacityRampForTime(time as CMTimeMBS, byref startOpacity as Double, byref endOpacity as Double, byref timeRange as CMTimeRangeMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Obtains the opacity ramp that includes a specified time.

time: If a ramp with a time range that contains the specified time has been set, information about the effective ramp for that time is supplied. Otherwise, information about the first ramp that starts after the specified time is supplied.
startOpacity: a float to receive the starting opacity value for the opacity ramp.
endOpacity: a float to receive the ending opacity value for the opacity ramp.
timeRange: a CMTimeRange to receive the time range of the opacity ramp.

Returns true if values are returned successfully, otherwise false. False is returned if time is beyond the duration of the last opacity ramp that has been set.

AVVideoCompositionLayerInstructionMBS.getTransformRampForTime(time as CMTimeMBS, byref startTransform as CGAffineTransformMBS, byref endOpacity as CGAffineTransformMBS, byref timeRange as CMTimeRangeMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Obtains the transform ramp that includes a specified time.

time
If a ramp with a time range that contains the specified time has been set, information about the effective ramp for that time is supplied. Otherwise, information about the first ramp that starts after the specified time is supplied.
startTransform: A float to receive the starting transform value for the transform ramp.
endTransform: A float to receive the ending transform value for the transform ramp.
timeRange: A CMTimeRange to receive the time range of the transform ramp.
Returns true if values are returned successfully, otherwise false. False is returned if time is beyond the duration of the last transform ramp that has been set.

AVVideoCompositionLayerInstructionMBS.mutableCopy as AVMutableVideoCompositionLayerInstructionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an editable copy of the object.

AVVideoCompositionLayerInstructionMBS.trackID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The trackID of the source track to which the compositor will apply the instruction. (read-only)

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...