MeiCam SDK For iOS  3.10.0
NvsTrackVideoFx.h
Go to the documentation of this file.
1 //================================================================================
2 //
3 // (c) Copyright China Digital Video (Beijing) Limited, 2017. All rights reserved.
4 //
5 // This code and information is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the implied
7 // warranties of merchantability and/or fitness for a particular purpose.
8 //
9 //--------------------------------------------------------------------------------
10 // Birth Date: Jun 17. 2017
11 // Author: NewAuto video team
12 //================================================================================
13 #pragma once
14 
15 #import "NvsFx.h"
16 #include <CoreGraphics/CGGeometry.h>
17 
24 typedef enum {
29 
30 
40 
41 @property (readonly) NvsTrackVideoFxType trackVideoFxType;
42 @property (readonly) NSString *bultinTrackVideoFxName;
43 @property (readonly) NSString *trackVideoFxPackageId;
44 @property (readonly) int64_t inPoint;
45 @property (readonly) int64_t outPoint;
46 
62 - (int64_t)changeInPoint:(int64_t)newInPoint;
63 
79 - (int64_t)changeOutPoint:(int64_t)newOutPoint;
80 
94 - (void)movePosition:(int64_t)offset;
95 
107 - (CGPoint)mapPointFromCanonicalToParticleSystem:(CGPoint)ptCononical;
108 
109 
119 - (void)setZValue:(float)value;
120 
130 - (float)getZValue;
131 
132 @end
133 
-[NvsTrackVideoFx getZValue]
float getZValue()
Get the sticker Z value.
NvsFx
effect class.
Definition: NvsFx.h:83
NvsTrackVideoFx::trackVideoFxPackageId
NSString * trackVideoFxPackageId
The resource package ID of the video effect on the track. If it's not a resource package video effect...
Definition: NvsTrackVideoFx.h:43
NvsTrackVideoFxType
NvsTrackVideoFxType
The type of track video effect.
Definition: NvsTrackVideoFx.h:24
NvsTrackVideoFx
Track video effect.
Definition: NvsTrackVideoFx.h:40
NvsTrackVideoFx::outPoint
int64_t outPoint
The out point of the track video effect on the track (in microseconds).
Definition: NvsTrackVideoFx.h:45
NvsTrackVideoFx::inPoint
int64_t inPoint
The in point of the track video effect on the track (in microseconds).
Definition: NvsTrackVideoFx.h:44
NvsTrackVideoFxType_Builtin
@ NvsTrackVideoFxType_Builtin
Definition: NvsTrackVideoFx.h:25
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
NvsTrackVideoFxType_Package
@ NvsTrackVideoFxType_Package
Definition: NvsTrackVideoFx.h:26
NvsTrackVideoFx::bultinTrackVideoFxName
NSString * bultinTrackVideoFxName
The name of the built-in video effect on the track. If it's not a built-in video effect on the track,...
Definition: NvsTrackVideoFx.h:42
NvsTrackVideoFxType_Custom
@ NvsTrackVideoFxType_Custom
Definition: NvsTrackVideoFx.h:27
NvsTrackVideoFx::trackVideoFxType
NvsTrackVideoFxType trackVideoFxType
The type of track video effect.
Definition: NvsTrackVideoFx.h:41
NvsFx.h