\doxysection{BMK3\+DModel\+Option类 参考}
\hypertarget{interface_b_m_k3_d_model_option}{}\label{interface_b_m_k3_d_model_option}\index{BMK3DModelOption@{BMK3DModelOption}}


{\ttfamily \#include $<$BMK3\+DModel\+Overlay.\+h$>$}

类 BMK3\+DModel\+Option 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{interface_b_m_k3_d_model_option}
\end{center}
\end{figure}
\doxysubsubsection*{属性}
\begin{DoxyCompactItemize}
\item 
CGFloat \mbox{\hyperlink{interface_b_m_k3_d_model_option_adf9afdb11d385481053096b9de3827d4}{scale}}
\begin{DoxyCompactList}\small\item\em 缩放比例，默认1.0 \end{DoxyCompactList}\item 
BOOL \mbox{\hyperlink{interface_b_m_k3_d_model_option_a8f8d86df8d32f3afcd2af974373256b5}{zoom\+Fixed}}
\begin{DoxyCompactList}\small\item\em scale不随地图缩放而变化，默认为\+NO \end{DoxyCompactList}\item 
BOOL \mbox{\hyperlink{interface_b_m_k3_d_model_option_a5b07a923b5612ad4c628e40396b17572}{always\+Show}}
\begin{DoxyCompactList}\small\item\em 模型是否始终显示，避免被其它地图模型遮挡；默认\+NO（根据深度测试绘制） \end{DoxyCompactList}\item 
CGFloat \mbox{\hyperlink{interface_b_m_k3_d_model_option_a24f4d4c619b18bb77727f6c2b9070f0f}{rotateX}}
\begin{DoxyCompactList}\small\item\em 旋转角度，取值范围为\mbox{[}0.\+0f, 360.\+0f\mbox{]}，默认为0.0 \end{DoxyCompactList}\item 
CGFloat \mbox{\hyperlink{interface_b_m_k3_d_model_option_a7f46c7e945bb4bbdf76e2c3481607a6a}{rotateY}}
\item 
CGFloat \mbox{\hyperlink{interface_b_m_k3_d_model_option_a7f162a52b1e52e5803f1fbc37e0e736b}{rotateZ}}
\item 
CGFloat \mbox{\hyperlink{interface_b_m_k3_d_model_option_adb41484b4c22ff22000df65c9a7ee6e1}{offsetX}}
\begin{DoxyCompactList}\small\item\em 偏移像素，默认为0.0 \end{DoxyCompactList}\item 
CGFloat \mbox{\hyperlink{interface_b_m_k3_d_model_option_a110b4aba63d1fc7266feab7b7860e2ad}{offsetY}}
\item 
CGFloat \mbox{\hyperlink{interface_b_m_k3_d_model_option_a5f9c0eb309af8fe1cc51def472cbebfe}{offsetZ}}
\item 
\mbox{\hyperlink{_b_m_k3_d_model_overlay_8h_af0d46c1c9e5e2f1021b5be91567015d0}{BMK3\+DModel\+Type}} \mbox{\hyperlink{interface_b_m_k3_d_model_option_a56293ee925a3c85911ec99d8758765a9}{type}}
\begin{DoxyCompactList}\small\item\em 3D模型文件格式，默认\+BMK3\+DModel\+Type\+Obj \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k3_d_model_option_a305e2b332fe349d9f0f25fb1c49c03a4}{model\+Path}}
\begin{DoxyCompactList}\small\item\em 模型文件路径 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k3_d_model_option_abbf563a326772543ae3d5e15de07795a}{model\+Name}}
\begin{DoxyCompactList}\small\item\em 模型名 \end{DoxyCompactList}\item 
BOOL \mbox{\hyperlink{interface_b_m_k3_d_model_option_acc343e9cb0a3a3b30c8409daa3cd995c}{animation\+Is\+Enable}}
\item 
NSInteger \mbox{\hyperlink{interface_b_m_k3_d_model_option_ad6b541abd32a98206a6284113a92abea}{animation\+Repeat\+Count}}
\begin{DoxyCompactList}\small\item\em 模型动画重复执行次数，默认0：动画将一直执行动画，since 6.\+5.\+7 \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k3_d_model_option_a8ec715e0185f8930e0204c5f49f1a483}{animation\+Index}}
\begin{DoxyCompactList}\small\item\em 当前模型动画索引值，since 6.\+5.\+7 \end{DoxyCompactList}\item 
CGFloat \mbox{\hyperlink{interface_b_m_k3_d_model_option_a0562cc0028f5c3622fc8cd71882c5ded}{animation\+Speed}}
\begin{DoxyCompactList}\small\item\em 模型动画倍速，默认：1.0，since 6.\+5.\+7 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{属性说明}
\Hypertarget{interface_b_m_k3_d_model_option_a5b07a923b5612ad4c628e40396b17572}\label{interface_b_m_k3_d_model_option_a5b07a923b5612ad4c628e40396b17572} 
\index{BMK3DModelOption@{BMK3DModelOption}!alwaysShow@{alwaysShow}}
\index{alwaysShow@{alwaysShow}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{alwaysShow}{alwaysShow}}
{\footnotesize\ttfamily -\/ (BOOL) always\+Show\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



模型是否始终显示，避免被其它地图模型遮挡；默认\+NO（根据深度测试绘制） 

\Hypertarget{interface_b_m_k3_d_model_option_a8ec715e0185f8930e0204c5f49f1a483}\label{interface_b_m_k3_d_model_option_a8ec715e0185f8930e0204c5f49f1a483} 
\index{BMK3DModelOption@{BMK3DModelOption}!animationIndex@{animationIndex}}
\index{animationIndex@{animationIndex}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{animationIndex}{animationIndex}}
{\footnotesize\ttfamily -\/ (NSInteger) animation\+Index\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



当前模型动画索引值，since 6.\+5.\+7 

\Hypertarget{interface_b_m_k3_d_model_option_acc343e9cb0a3a3b30c8409daa3cd995c}\label{interface_b_m_k3_d_model_option_acc343e9cb0a3a3b30c8409daa3cd995c} 
\index{BMK3DModelOption@{BMK3DModelOption}!animationIsEnable@{animationIsEnable}}
\index{animationIsEnable@{animationIsEnable}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{animationIsEnable}{animationIsEnable}}
{\footnotesize\ttfamily -\/ (BOOL) animation\+Is\+Enable\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

以下只支持带有animations标签的\+GLTF模型 模型动画是否可用，默认为\+NO：添加后不执行动画，值为\+YES时添加后立即按照配置参数执行动画，since 6.\+5.\+7 \Hypertarget{interface_b_m_k3_d_model_option_ad6b541abd32a98206a6284113a92abea}\label{interface_b_m_k3_d_model_option_ad6b541abd32a98206a6284113a92abea} 
\index{BMK3DModelOption@{BMK3DModelOption}!animationRepeatCount@{animationRepeatCount}}
\index{animationRepeatCount@{animationRepeatCount}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{animationRepeatCount}{animationRepeatCount}}
{\footnotesize\ttfamily -\/ (NSInteger) animation\+Repeat\+Count\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



模型动画重复执行次数，默认0：动画将一直执行动画，since 6.\+5.\+7 

\Hypertarget{interface_b_m_k3_d_model_option_a0562cc0028f5c3622fc8cd71882c5ded}\label{interface_b_m_k3_d_model_option_a0562cc0028f5c3622fc8cd71882c5ded} 
\index{BMK3DModelOption@{BMK3DModelOption}!animationSpeed@{animationSpeed}}
\index{animationSpeed@{animationSpeed}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{animationSpeed}{animationSpeed}}
{\footnotesize\ttfamily -\/ (CGFloat) animation\+Speed\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



模型动画倍速，默认：1.0，since 6.\+5.\+7 

\Hypertarget{interface_b_m_k3_d_model_option_abbf563a326772543ae3d5e15de07795a}\label{interface_b_m_k3_d_model_option_abbf563a326772543ae3d5e15de07795a} 
\index{BMK3DModelOption@{BMK3DModelOption}!modelName@{modelName}}
\index{modelName@{modelName}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{modelName}{modelName}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) model\+Name\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



模型名 

\Hypertarget{interface_b_m_k3_d_model_option_a305e2b332fe349d9f0f25fb1c49c03a4}\label{interface_b_m_k3_d_model_option_a305e2b332fe349d9f0f25fb1c49c03a4} 
\index{BMK3DModelOption@{BMK3DModelOption}!modelPath@{modelPath}}
\index{modelPath@{modelPath}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{modelPath}{modelPath}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) model\+Path\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



模型文件路径 

\Hypertarget{interface_b_m_k3_d_model_option_adb41484b4c22ff22000df65c9a7ee6e1}\label{interface_b_m_k3_d_model_option_adb41484b4c22ff22000df65c9a7ee6e1} 
\index{BMK3DModelOption@{BMK3DModelOption}!offsetX@{offsetX}}
\index{offsetX@{offsetX}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{offsetX}{offsetX}}
{\footnotesize\ttfamily -\/ (CGFloat) offsetX\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



偏移像素，默认为0.0 

\Hypertarget{interface_b_m_k3_d_model_option_a110b4aba63d1fc7266feab7b7860e2ad}\label{interface_b_m_k3_d_model_option_a110b4aba63d1fc7266feab7b7860e2ad} 
\index{BMK3DModelOption@{BMK3DModelOption}!offsetY@{offsetY}}
\index{offsetY@{offsetY}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{offsetY}{offsetY}}
{\footnotesize\ttfamily -\/ (CGFloat) offsetY\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

\Hypertarget{interface_b_m_k3_d_model_option_a5f9c0eb309af8fe1cc51def472cbebfe}\label{interface_b_m_k3_d_model_option_a5f9c0eb309af8fe1cc51def472cbebfe} 
\index{BMK3DModelOption@{BMK3DModelOption}!offsetZ@{offsetZ}}
\index{offsetZ@{offsetZ}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{offsetZ}{offsetZ}}
{\footnotesize\ttfamily -\/ (CGFloat) offsetZ\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

\Hypertarget{interface_b_m_k3_d_model_option_a24f4d4c619b18bb77727f6c2b9070f0f}\label{interface_b_m_k3_d_model_option_a24f4d4c619b18bb77727f6c2b9070f0f} 
\index{BMK3DModelOption@{BMK3DModelOption}!rotateX@{rotateX}}
\index{rotateX@{rotateX}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{rotateX}{rotateX}}
{\footnotesize\ttfamily -\/ (CGFloat) rotateX\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



旋转角度，取值范围为\mbox{[}0.\+0f, 360.\+0f\mbox{]}，默认为0.0 

\Hypertarget{interface_b_m_k3_d_model_option_a7f46c7e945bb4bbdf76e2c3481607a6a}\label{interface_b_m_k3_d_model_option_a7f46c7e945bb4bbdf76e2c3481607a6a} 
\index{BMK3DModelOption@{BMK3DModelOption}!rotateY@{rotateY}}
\index{rotateY@{rotateY}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{rotateY}{rotateY}}
{\footnotesize\ttfamily -\/ (CGFloat) rotateY\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

\Hypertarget{interface_b_m_k3_d_model_option_a7f162a52b1e52e5803f1fbc37e0e736b}\label{interface_b_m_k3_d_model_option_a7f162a52b1e52e5803f1fbc37e0e736b} 
\index{BMK3DModelOption@{BMK3DModelOption}!rotateZ@{rotateZ}}
\index{rotateZ@{rotateZ}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{rotateZ}{rotateZ}}
{\footnotesize\ttfamily -\/ (CGFloat) rotateZ\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

\Hypertarget{interface_b_m_k3_d_model_option_adf9afdb11d385481053096b9de3827d4}\label{interface_b_m_k3_d_model_option_adf9afdb11d385481053096b9de3827d4} 
\index{BMK3DModelOption@{BMK3DModelOption}!scale@{scale}}
\index{scale@{scale}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{scale}{scale}}
{\footnotesize\ttfamily -\/ (CGFloat) scale\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



缩放比例，默认1.0 

\Hypertarget{interface_b_m_k3_d_model_option_a56293ee925a3c85911ec99d8758765a9}\label{interface_b_m_k3_d_model_option_a56293ee925a3c85911ec99d8758765a9} 
\index{BMK3DModelOption@{BMK3DModelOption}!type@{type}}
\index{type@{type}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{type}{type}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k3_d_model_overlay_8h_af0d46c1c9e5e2f1021b5be91567015d0}{BMK3\+DModel\+Type}}) type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



3D模型文件格式，默认\+BMK3\+DModel\+Type\+Obj 

\Hypertarget{interface_b_m_k3_d_model_option_a8f8d86df8d32f3afcd2af974373256b5}\label{interface_b_m_k3_d_model_option_a8f8d86df8d32f3afcd2af974373256b5} 
\index{BMK3DModelOption@{BMK3DModelOption}!zoomFixed@{zoomFixed}}
\index{zoomFixed@{zoomFixed}!BMK3DModelOption@{BMK3DModelOption}}
\doxysubsubsection{\texorpdfstring{zoomFixed}{zoomFixed}}
{\footnotesize\ttfamily -\/ (BOOL) zoom\+Fixed\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



scale不随地图缩放而变化，默认为\+NO 



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+API\+\_\+\+Map.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k3_d_model_overlay_8h}{BMK3\+DModel\+Overlay.\+h}}\end{DoxyCompactItemize}
