MeiCam SDK For iOS
3.14.0
|
Real-time shooting preview window. More...
#import <NvsLiveWindow.h>
Instance Methods | |
(instancetype) | - init |
(instancetype) | - initWithFrame: |
(instancetype) | - initWithCoder: |
(CGPoint) | - mapCanonicalToView: |
Timeline coordinates are converted to view coordinates. More... | |
(CGPoint) | - mapViewToCanonical: |
View coordinates are converted to timeline coordinates. More... | |
(CGPoint) | - mapNormalizedToView: |
Normalized coordinates are converted to view coordinates. More... | |
(CGPoint) | - mapViewToNormalized: |
View coordinates are converted to normalized coordinates. More... | |
(void) | - clearVideoFrame |
Clear LiveWindow video frames. More... | |
(UIImage *) | - takeScreenShot |
Screen Shot. More... | |
(void) | - setBackgroundColorWithRed:green:blue: |
Set the background color of LiveWindow. More... | |
(void) | - setBackgroundColorWithRed:green:blue:alpha: |
Set the background color of LiveWindow.You need to set the view's background color to clear to work with. More... | |
Properties | |
id< NvsLiveWindowDrawDelegate > | delegate |
NvsLiveWindowFillMode | fillMode |
NvsLiveWindowHDRDisplayMode | hdrDisplayMode |
Real-time shooting preview window.
When shooting a video, connect the live window with the capture preview and preview the scene in real time. After the shooting is completed, the live window is connected to the created timeline. And the video which has shooted can edit as needed, and then compile and output a video .mov format file.
- (void) clearVideoFrame |
Clear LiveWindow video frames.
- (instancetype) init |
- (instancetype) initWithCoder: | (NSCoder *) | aDecoder |
- (instancetype) initWithFrame: | (CGRect) | frame |
- (CGPoint) mapCanonicalToView: | (CGPoint) | ptCanonical |
Timeline coordinates are converted to view coordinates.
ptCanonical | Timeline coordinates. Please refer to TimeLine and View Coordinate |
- (CGPoint) mapNormalizedToView: | (CGPoint) | ptNormalized |
Normalized coordinates are converted to view coordinates.
ptNormalized | Normalized coordinates |
- (CGPoint) mapViewToCanonical: | (CGPoint) | ptView |
View coordinates are converted to timeline coordinates.
ptView | View coordinates. Please refer to TimeLine and View Coordinate |
- (CGPoint) mapViewToNormalized: | (CGPoint) | ptView |
View coordinates are converted to normalized coordinates.
ptView | View coordinates |
- (void) setBackgroundColorWithRed: | (float) | red | |
green: | (float) | green | |
blue: | (float) | blue | |
Set the background color of LiveWindow.
red | red(0~1) |
green | green(0~1) |
blue | blue(0~1) |
- (void) setBackgroundColorWithRed: | (float) | red | |
green: | (float) | green | |
blue: | (float) | blue | |
alpha: | (float) | alpha | |
Set the background color of LiveWindow.You need to set the view's background color to clear to work with.
red | red(0~1) |
green | green(0~1) |
blue | blue(0~1) |
alpha | alpha(0~1) |
- (UIImage*) takeScreenShot |
Screen Shot.
|
readwritenonatomicweak |
|
readwritenonatomicassign |
|
readwritenonatomicassign |