CMTimeRangeMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All , Dependencies ) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics ,
classes ,
interfaces ,
controls ,
modules ,
global methods by category ,
global methods by name ,
screenshots ,
licenses
and examples .
Platforms to show: All Mac Windows Linux Cross-Platform
CMTimeRangeMBS class
The class that represent time ranges.
Example
dim t as CMTimeMBS = CMTimeMBS .MakeWithSeconds(5 ) // start at 5 dim d as CMTimeMBS = CMTimeMBS .MakeWithSeconds(10 ) // duration 10 dim r as CMTimeRangeMBS = CMTimeRangeMBS.Make(t,d)
A CMTimeRange is represented as two CMTime structs, one that specifies the start time of the range and another that specifies the duration of the range. A time range does not include the end time that would be calculated by adding the duration to the start time.
7 properties
5 methods
8 shared methods
This class has no sub classes.
Some methods using this class:
AVCompositionTrackSegmentMBS.compositionTrackSegmentWithTimeRange (timeRange as CMTimeRangeMBS) as AVCompositionTrackSegmentMBS
AVCompositionTrackSegmentMBS.Constructor (timeRange as CMTimeRangeMBS)
AVMutableCompositionMBS.insertEmptyTimeRange (timeRange as CMTimeRangeMBS)
AVMutableCompositionMBS.insertTimeRange (timeRange as CMTimeRangeMBS, asset as AVAssetMBS , startTime as CMTimeMBS , byref error as NSErrorMBS ) as boolean
AVMutableMovieMBS.insertTimeRange (timeRange as CMTimeRangeMBS, asset as AVAssetMBS , atTime as CMTimeMBS , copySampleData as Boolean, byref Error as NSErrorMBS ) as boolean
AVMutableMovieMBS.removeTimeRange (timeRange as CMTimeRangeMBS)
AVMutableVideoCompositionLayerInstructionMBS.setCropRectangleRampFromStartCropRectangle (startCropRectangle as CGRectMBS , endCropRectangle as CGRectMBS , timeRange as CMTimeRangeMBS)
AVMutableVideoCompositionLayerInstructionMBS.setOpacity (startOpacity as Double, endOpacity as Double, timeRange as CMTimeRangeMBS)
AVVideoCompositionLayerInstructionMBS.getCropRectangleRampForTime (time as CMTimeMBS , byref startCropRectangle as CGRectMBS , byref endCropRectangle as CGRectMBS , byref timeRange as CMTimeRangeMBS) as Boolean
AVVideoCompositionLayerInstructionMBS.getOpacityRampForTime (time as CMTimeMBS , byref startOpacity as Double, byref endOpacity as Double, byref timeRange as CMTimeRangeMBS) as boolean
Some properties using for this class:
Some events using this class:
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS AVFoundation Plugin .
CMTimeMBS
-
CNChangeHistoryAddContactEventMBS