Platforms to show: All Mac Windows Linux Cross-Platform
Back to CMTimeRangeMBS class.
CMTimeRangeMBS.AllTimeRange as CMTimeRangeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
From zero to infinity.
Some examples using this method:
CMTimeRangeMBS.Equal(range1 as CMTimeRangeMBS, range2 as CMTimeRangeMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range1: CMTimeRange to be compared for equality.
range2: Another CMTimeRange to be compared for equality.
Returns true if the two time ranges are identical, false if they differ.
This function returns a Boolean value that indicates whether the time ranges specified by the range1 and range2 parameters are identical.
CMTimeRangeMBS.Intersection(range1 as CMTimeRangeMBS, range2 as CMTimeRangeMBS) as CMTimeRangeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range1: CMTimeRange to be intersected.
range2: Another CMTimeRange to be intersected.
Returns the intersection of the two CMTimeRanges.
This function returns a CMTimeRange structure that represents the intersection of the time ranges specified by the range1 and range2 parameters. This is the largest range that both ranges include.
CMTimeRangeMBS.kCMTimeRangeInvalid as CMTimeRangeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CMTimeRangeMBS.kCMTimeRangeZero as CMTimeRangeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CMTimeRangeMBS.Make(start as CMTimeMBS, duration as CMTimeMBS) as CMTimeRangeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
start: CMTime for initializing the start field of the resulting CMTimeRange.
duration: CMTime for initializing the duration field of the resulting CMTimeRange.
Returns the resulting CMTimeRange.
The duration parameter must have an epoch of 0; otherwise an invalid time range will be returned.
CMTimeRangeMBS.TimeRangeFromTimeToTime(start as CMTimeMBS, EndTime as CMTimeMBS) as CMTimeRangeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
start: CMTime structure representing start time for creating the range.
EndTime: CMTime structure representing end time for creating the range.
Returns the resulting CMTimeRange.
CMTimeRangeMBS.Union(range1 as CMTimeRangeMBS, range2 as CMTimeRangeMBS) as CMTimeRangeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
range1: CMTimeRange to be unified.
range2: Another CMTimeRange to be unified.
Returns the union of the two CMTimeRanges.
This function returns a CMTimeRange that represents the union of the time ranges specified by the range1 and range2 parameters. This is the smallest range that includes all times that are in either range.
The items on this page are in the following plugins: MBS AVFoundation Plugin.