BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKTraceOverlayOption.h
浏览该文件的文档.
1 //
2 // BMKTraceOverlayOption.h
3 // MapComponent
4 //
5 // Created by Baidu on 2021/5/15.
6 // Copyright © 2021 Baidu. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import "BMK3DModelOverlay.h"
11
13 typedef NS_ENUM(NSInteger, BMKTraceOverlayAnimationEasingCurve) {
14 BMKTraceOverlayAnimationEasingCurveLinear,
15 BMKTraceOverlayAnimationEasingCurveEaseIn,
16 BMKTraceOverlayAnimationEasingCurveEaseOut,
17 BMKTraceOverlayAnimationEasingCurveEaseInOut
18 };
19
20 /*
21 * 轨迹动画中模型的偏航轴，即模型与右手坐标系Z轴重合的轴
22 */
23 typedef NS_ENUM(NSInteger, BMKTraceOverlay3DModelYawAxis) {
24 BMKTraceOverlay3DModelYawAxisZ,
25 BMKTraceOverlay3DModelYawAxisX,
26 BMKTraceOverlay3DModelYawAxisY,
27 };
28
29 NS_ASSUME_NONNULL_BEGIN
30
31 @interface BMKTrace3DModelOption : BMK3DModelOption
33 @property (nonatomic, assign) BMKTraceOverlay3DModelYawAxis modelYawAxis;
34 @end
35
36
37 @interface BMKTraceOverlayOption : NSObject
38
40 @property (nonatomic, assign) BOOL animate;
42 @property (nonatomic, assign) NSTimeInterval delay;
44 @property (nonatomic, assign) NSTimeInterval duration;
46 @property (nonatomic, assign) CGFloat fromValue;
48 @property (nonatomic, assign) CGFloat toValue;
50 @property (nonatomic, assign) BMKTraceOverlayAnimationEasingCurve easingCurve;
52 @property (nonatomic, assign) BOOL trackMove;
54 @property (nonatomic, assign) BOOL isRotateWhenTrack;
56 @property (nonatomic, assign) BOOL pointMove;
58 @property (nonatomic, strong) UIImage *pointImage;
60 @property (nonatomic, strong) BMKTrace3DModelOption *modelOption;
61 @end
62
63 NS_ASSUME_NONNULL_END
BMK3DModelOverlay.h
BMKTrace3DModelOption::modelYawAxis
BMKTraceOverlay3DModelYawAxis modelYawAxis
轨迹动画中模型的偏航轴，即模型与右手坐标系Z轴重合的轴
Definition: BMKTraceOverlayOption.h:33
BMKTrace3DModelOption
Definition: BMKTraceOverlayOption.h:32
BMK3DModelOption
Definition: BMK3DModelOverlay.h:23
NS_ENUM
typedef NS_ENUM(NSInteger, BMKTraceOverlayAnimationEasingCurve)
动画类型
Definition: BMKTraceOverlayOption.h:13
BMKTraceOverlayOption
Definition: BMKTraceOverlayOption.h:38