Go to the documentation of this file.
16 #import <CoreGraphics/CGGeometry.h>
72 - (int64_t)changeInPoint:(int64_t)newInPoint;
92 - (int64_t)changeOutPoint:(int64_t)newOutPoint;
106 - (void)movePosition:(int64_t)offset;
117 - (void)setScale:(
float)scale;
139 - (void)setHorizontalFlip:(
bool)flip;
161 - (void)setVerticalFlip:(
bool)flip;
183 - (void)setRotationZ:(
float)angle;
207 - (void)setTranslation:(CGPoint)translation;
231 - (void)translateAnimatedSticker:(CGPoint)translationOffset;
244 - (void)scaleAnimatedSticker:(
float)scaleFactor anchor:(CGPoint)anchor;
257 - (void)rotateAnimatedSticker:(
float)angle anchor:(CGPoint)anchor;
268 - (void)rotateAnimatedSticker:(
float)angle;
300 - (void)setCenterPolarAngle:(
float)centerPolarAngle;
322 - (void)setCenterAzimuthAngle:(
float)centerAzimuthAngle;
344 - (void)setPolarAngleRange:(
float)polarAngleRange;
377 - (void)setZValue:(
float)value;
400 - (void)setOpacity:(
float)opacity;
424 - (void)setCurrentKeyFrameTime:(int64_t)time;
451 - (bool)applyAnimatedStickerPeriodAnimation:(NSString*) animatedStickerPeriodAnimationPackageId;
467 - (bool)applyAnimatedStickerInAnimation:(NSString*) animatedStickerInAnimationPackageId;
483 - (bool)applyAnimatedStickerOutAnimation:(NSString*) animatedStickerOutAnimationPackageId;
495 - (void)setAnimatedStickerAnimationPeriod:(
int)periodInMS;
519 - (void)setAnimatedStickerInAnimationDuration:(
int)inAnimationDurationInMS;
543 - (void)setAnimatedStickerOutAnimationDuration:(
int)outAnimationDurationInMS;
float getZValue()
Get the sticker Z value.
Animated sticker class.
Definition: NvsVideoEffectAnimatedSticker.h:35
int getAnimatedStickerAnimationPeriod()
Get animated sticker Animation Period.
BOOL getVerticalFlip()
Get the vertical flip state of the animated sticker.
Rectangle.
Definition: NvsEffectCommonDef.h:120
NSString * getAnimatedStickerPackageId()
Get animated sticker's package ID.
BOOL isPanoramic
Whether It's a panorama animated sticker,Default is no.
Definition: NvsVideoEffectAnimatedSticker.h:37
int64_t defaultDuration
The default duration of the animated sticker on the timeline (in microseconds).
Definition: NvsVideoEffectAnimatedSticker.h:40
float getOrthoAngleRange()
Get the animated sticker’s field angle which is perpendicular to the polar angle. It is only valid fo...
float getCenterPolarAngle()
Get the polar angle of the center point of the animated sticker. It is only valid for panorama animat...
NSArray * getBoundingRectangleVertices()
Get the vertex positions of the animated sticker's original bounding in the timeline coordinate syste...
int64_t inPoint
The in point of the animated sticker on the timeline (in microseconds).
Definition: NvsVideoEffectAnimatedSticker.h:38
NvsEffectRect getOriginalBoundingRect()
Get the original bounding of the animated sticker in the timeline coordinate system....
float getScale()
Get the scale value of the animated sticker.
float getPolarAngleRange()
Get animated sticker's field angle, which is coplanar with the polar angle. It is only valid for pano...
int64_t outPoint
The out point of the animated sticker on the timeline (in microseconds).
Definition: NvsVideoEffectAnimatedSticker.h:39
float getRotationZ()
Get the angle at which the animation sticker rotates clockwise along the Z-axis, which is perpendicul...
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
Special effects.
Definition: NvsEffect.h:46
float getOpacity()
Get the sticker opacity.
Video resolution.
Definition: NvsEffectCommonDef.h:39
int getAnimatedStickerOutAnimationDuration()
Get animated sticker out-animation duration.
int getAnimatedStickerInAnimationDuration()
Get animated sticker in-animation duration.
CGPoint getTransltion()
Get the translation position of the animated sticker in the timeline coordinate system.
BOOL getHorizontalFlip()
Get the horizontal flip state of the animated sticker.
float getCenterAzimuthAngle()
Get the azimuth of the center point of the animated sticker. It is only valid for panorama animated s...