BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
BMKPrismOverlayView.h
浏览该文件的文档.
1//
2// BMKPrismOverlayView.h
3// MapComponent
4//
5// Created by zhangbaojin on 2021/4/19.
6// Copyright © 2021 Baidu. All rights reserved.
7//
8
9#ifndef BMKPrismOverlayView_h
10#define BMKPrismOverlayView_h
11
12#import "BMKOverlayGLBasicView.h"
13#import "BMKPrismOverlay.h"
14
16 enum BMKBuildingFloorAnimateType
17{
18 kBMKBuildingFloorAnimateSlow = 0,
19 kBMKBuildingFloorAnimateNormal,
20 kBMKBuildingFloorAnimateFast
21};
22 typedef enum BMKBuildingFloorAnimateType BMKBuildingFloorAnimateType;
23
24@protocol BMKPrismOverlayViewDelegate;
25
26
27NS_ASSUME_NONNULL_BEGIN
28
30@interface BMKPrismOverlayView : BMKOverlayGLBasicView
31
35- (nullable instancetype)initWithPrismOverlay:(BMKPrismOverlay *)prismOverlay;
36
38@property (nonatomic, readonly) BMKPrismOverlay *prismOverlay;
39
41@property (nonatomic, weak) id<BMKPrismOverlayViewDelegate> delegate;
42
44@property (nonatomic, strong) UIColor *topFaceColor;
45
47@property (nonatomic, strong) UIColor *sideFaceColor;
48
50@property (nonatomic, strong) UIImage *sideTextureImage;
51
52
53@end
54
55@interface BMKPrismOverlayView (BuildingAPI)
56
58@property (nonatomic, strong) UIColor *floorColor;
59
61@property (nonatomic, strong, nullable) UIImage *floorSideTextureImage;
62
64@property (nonatomic, assign) BOOL isGrowthAnimation;
65
67@property (nonatomic, assign) int showLevel;
68
70@property (nonatomic, assign) BOOL isRoundedCorner;
71
74@property (nonatomic, assign) CGFloat roundedCornerRadius;
75
78@property (nonatomic, assign) BMKBuildingFloorAnimateType buildingFloorAnimateType;
79
80@end
81
83@protocol BMKPrismOverlayViewDelegate <NSObject>
84@optional
85
87- (void)prismOverlayViewFloorAnimationDidEnd:(BMKPrismOverlayView *)prismOverlayView;
88
89@end
90
91NS_ASSUME_NONNULL_END
92
93#endif /* BMKPrismOverlayView_h */
BMKOverlayGLBasicView.h
BMKPrismOverlay.h
BMKBuildingFloorAnimateType
BMKBuildingFloorAnimateType
自定义建筑物楼层动画
Definition BMKPrismOverlayView.h:17
kBMKBuildingFloorAnimateSlow
@ kBMKBuildingFloorAnimateSlow
慢
Definition BMKPrismOverlayView.h:18
kBMKBuildingFloorAnimateFast
@ kBMKBuildingFloorAnimateFast
快
Definition BMKPrismOverlayView.h:20
kBMKBuildingFloorAnimateNormal
@ kBMKBuildingFloorAnimateNormal
正常
Definition BMKPrismOverlayView.h:19
BMKPrismOverlayView(BuildingAPI)::showLevel
int showLevel
自定义建筑物显示层级 (仅对建筑物生效), 默认18
Definition BMKPrismOverlayView.h:67
BMKPrismOverlayView(BuildingAPI)::isGrowthAnimation
BOOL isGrowthAnimation
是否开启生长动画 (仅对建筑物生效)，默认YES
Definition BMKPrismOverlayView.h:64
BMKPrismOverlayView(BuildingAPI)::floorColor
UIColor * floorColor
自定义建筑物的楼层颜色 (仅对建筑物生效) since 6.5.7
Definition BMKPrismOverlayView.h:58
BMKPrismOverlayView(BuildingAPI)::floorSideTextureImage
UIImage * floorSideTextureImage
自定义建筑物的楼层侧面纹理 (仅对建筑物生效) since 6.5.7
Definition BMKPrismOverlayView.h:61
BMKPrismOverlayView(BuildingAPI)::isRoundedCorner
BOOL isRoundedCorner
是否设置圆角，默认为NO since 6.6.2
Definition BMKPrismOverlayView.h:70
BMKPrismOverlayView(BuildingAPI)::roundedCornerRadius
CGFloat roundedCornerRadius
Definition BMKPrismOverlayView.h:74
BMKPrismOverlayView(BuildingAPI)::buildingFloorAnimateType
BMKBuildingFloorAnimateType buildingFloorAnimateType
Definition BMKPrismOverlayView.h:78
BMKOverlayGLBasicView
该类定义了一个用opengl绘制的OverlayView的基类，如果需要用gdi进行绘制请继承于BMKOverlayPathView类
Definition BMKOverlayGLBasicView.h:14
BMKPrismOverlay
此类用于定义一个3D棱柱 since 6.4.0
Definition BMKPrismOverlay.h:16
BMKPrismOverlayView
此类用于定义一个3D棱柱View since 6.4.0
Definition BMKPrismOverlayView.h:31
BMKPrismOverlayView::delegate
id< BMKPrismOverlayViewDelegate > delegate
3D棱柱代理 since 6.5.7
Definition BMKPrismOverlayView.h:41
BMKPrismOverlayView::prismOverlay
BMKPrismOverlay * prismOverlay
该View对应的3D棱柱数据对象
Definition BMKPrismOverlayView.h:38
BMKPrismOverlayView::topFaceColor
UIColor * topFaceColor
3D棱柱顶面颜色
Definition BMKPrismOverlayView.h:44
BMKPrismOverlayView::sideFaceColor
UIColor * sideFaceColor
3D棱柱侧面颜色
Definition BMKPrismOverlayView.h:47
BMKPrismOverlayView::sideTextureImage
UIImage * sideTextureImage
3D棱柱侧面纹理
Definition BMKPrismOverlayView.h:50