BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
BMK3DModelOverlayView.h
浏览该文件的文档.
1//
2// BMK3DModelOverlayView.h
3// MapComponent
4//
5// Created by zhaoxiangru on 2021/4/28.
6// Copyright © 2021 Baidu. All rights reserved.
7//
8
9#import "BMKOverlayGLBasicView.h"
10#import "BMK3DModelOverlay.h"
11
12NS_ASSUME_NONNULL_BEGIN
13
14@interface BMK3DModelOverlayView : BMKOverlayGLBasicView
15// 模型是否可点击，默认NO
16@property (nonatomic, assign) BOOL isClickable;
18@property (nonatomic, assign, getter=isDraggable) BOOL draggable;
19
20- (nullable instancetype)initWith3DModelOverlay:(BMK3DModelOverlay *)modelOverlay;
21
23@property (nonatomic, readonly) BMK3DModelOverlay *modelOverlay;
24@end
25
26NS_ASSUME_NONNULL_END
BMK3DModelOverlay.h
BMKOverlayGLBasicView.h
BMK3DModelOverlay
Definition BMK3DModelOverlay.h:55
BMK3DModelOverlayView
Definition BMK3DModelOverlayView.h:15
BMK3DModelOverlayView::draggable
BOOL draggable
模型是否可长按拖拽移动，默认NO。且isClickable为YES时生效。
Definition BMK3DModelOverlayView.h:18
BMK3DModelOverlayView::modelOverlay
BMK3DModelOverlay * modelOverlay
该View对应的3DModel数据对象
Definition BMK3DModelOverlayView.h:23
BMK3DModelOverlayView::isClickable
BOOL isClickable
Definition BMK3DModelOverlayView.h:16
BMKOverlayGLBasicView
该类定义了一个用opengl绘制的OverlayView的基类，如果需要用gdi进行绘制请继承于BMKOverlayPathView类
Definition BMKOverlayGLBasicView.h:14