MeiCam SDK For iOS
3.14.0
|
Go to the documentation of this file.
16 #import <CoreGraphics/CGGeometry.h>
63 - (void)setScale:(
float)scale;
75 - (void)setSeperatedScaleX:(
float)scaleX;
86 - (void)setSeperatedScaleY:(
float)scaleY;
130 - (void)setHorizontalFlip:(
bool)flip;
152 - (void)setVerticalFlip:(
bool)flip;
174 - (void)setRotationZ:(
float)angle;
198 - (void)setTranslation:(CGPoint)translation;
222 - (void)translateAnimatedSticker:(CGPoint)translationOffset;
235 - (void)scaleAnimatedSticker:(
float)scaleFactor anchor:(CGPoint)anchor;
248 - (void)rotateAnimatedSticker:(
float)angle anchor:(CGPoint)anchor;
259 - (void)rotateAnimatedSticker:(
float)angle;
293 - (void)setCenterPolarAngle:(
float)centerPolarAngle;
319 - (void)setCenterAzimuthAngle:(
float)centerAzimuthAngle;
345 - (void)setPolarAngleRange:(
float)polarAngleRange;
382 - (void)setZValue:(
float)value;
407 - (void)setVolumeGain:(
float)leftVolumeGain rightVolumeGain:(
float)rightVolumeGain;
422 - (void)getVolumeGain:(
float *)leftVolumeGain rightVolumeGain:(
float *)rightVolumeGain;
434 - (void)setOpacity:(
float)opacity;
458 - (void)setCurrentKeyFrameTime:(int64_t)time;
472 - (bool)setControlPoint:(NSString *)fxParam controlPointPair:(
NvsControlPointPair *)controlPointPair;
502 -(bool) applyAnimatedStickerPeriodAnimation:(NSString*) animatedStickerPeriodAnimationPackageId;
518 -(bool) applyAnimatedStickerInAnimation:(NSString*) animatedStickerInAnimationPackageId;
534 -(bool) applyAnimatedStickerOutAnimation:(NSString*) animatedStickerOutAnimationPackageId;
546 -(void) setAnimatedStickerAnimationPeriod:(
int)periodInMS;
570 -(void) setAnimatedStickerInAnimationDuration:(
int)inAnimationDurationInMS;
594 -(void) setAnimatedStickerOutAnimationDuration:(
int)outAnimationDurationInMS;
618 -(void) enableSeparateProgressMode:(
bool)enable;
float getSeperatedScaleY()
Get the seperated vertical scale value of the animated sticker.
BOOL getHorizontalFlip()
Get the horizontal flip state of the animated sticker.
bool isSeparateProgressModeEnabled()
Get whether enable the separate effect settings from progress mode.
int64_t defaultDuration
The default duration of the animated sticker on the timeline (in microseconds).
Definition: NvsAnimatedSticker.h:38
NSArray * getBoundingRectangleVertices()
Get the vertex positions of the animated sticker's original bounding in the timeline coordinate syste...
Key frame control point pair structure.
Definition: NvsControlPointPair.h:27
float getOpacity()
Get the sticker opacity.
Rectangle.
Definition: NvsCommonDef.h:361
int getAnimatedStickerAnimationPeriod()
Get animated sticker Animation Period.
animated sticker class.
Definition: NvsAnimatedSticker.h:35
float getOrthoAngleRange()
Get the animated sticker’s field angle which is perpendicular to the polar angle. It is only valid fo...
effect class.
Definition: NvsFx.h:83
NSString * animatedStickerOutAnimationPackageId
The package ID of the animated sticker out-animation style.
Definition: NvsAnimatedSticker.h:41
NSString * getAnimatedStickerPackageId()
Get animated sticker's package ID.
BOOL getVerticalFlip()
Get the vertical flip state of the animated sticker.
BOOL hasAudio
Whether it contains audio.
Definition: NvsAnimatedSticker.h:36
int getAnimatedStickerInAnimationDuration()
Get animated sticker in-animation duration.
NvsRect getOriginalBoundingRect()
Get the original bounding of the animated sticker in the timeline coordinate system....
BOOL isPanoramic
Whether It's a panorama animated sticker,Default is no.
Definition: NvsAnimatedSticker.h:37
float getCenterAzimuthAngle()
Get the azimuth of the center point of the animated sticker. It is only valid for panorama animated s...
NSString * animatedStickerPeriodAnimationPackageId
The package ID of the animated sticker loop-animation style.
Definition: NvsAnimatedSticker.h:39
float getPolarAngleRange()
Get animated sticker's field angle, which is coplanar with the polar angle. It is only valid for pano...
CGPoint getTransltion()
Get the translation position of the animated sticker in the timeline coordinate system.
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
float getRotationZ()
Get the angle at which the animation sticker rotates clockwise along the Z-axis, which is perpendicul...
float getCenterPolarAngle()
Get the polar angle of the center point of the animated sticker. It is only valid for panorama animat...
int getAnimatedStickerOutAnimationDuration()
Get animated sticker out-animation duration.
NSString * animatedStickerInAnimationPackageId
The package ID of the animated sticker in-animation style.
Definition: NvsAnimatedSticker.h:40
float getZValue()
Get the sticker Z value.
float getSeperatedScaleX()
Get the seperated horizontal scale value of the animated sticker.
float getScale()
Get the scale value of the animated sticker.