2.相机
<h3>1.搜索BP_YK_MarkerCamera,放进场景中</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/59b21d58f331bf2b740e0318a47b0474" alt="" /></p>
<h3>2.相机参数</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/25aaf096d7fd584602249ada41be6f72" alt="" />
参数说明:
<strong>CameraGroup</strong>:相机组名。(项目制作中和程序约定)
<strong>CameraIndex</strong>:相机索引。(项目制作中和程序约定)
<strong>ArmLenghtLimit</strong>:相机Zoom限制 x:最小值 y:最大值
<strong>TargetArmLen</strong>:默认相机Zoom值
<strong>PitchLimit</strong>:相机Pitch旋转限定 x:最小值 y:最大值
<strong>YawLimit</strong>:相机Yaw旋转限定 x:最小值 y:最大值
<strong>CustomTransformTime</strong>:相机切换时间。只有在bUseCustomTransfromTime为True时有效
<strong>bUseCustomTransfromTime</strong>:true:使用自定义时间切换相机 false:自动计算
<strong>AutoRot</strong>:切换该相机后是否自动旋转
<strong>TansformType</strong>:相机切换曲线类型
<strong>PawnState</strong>:切换相机后Pawn的状态 Flying:默认模式 Roaming:漫游 Transform:忽略</p>
<h3>3.快速设置相机角度以及Zoom值</h3>
<p>根据当前视口视角以及和MarkCamera的距离设置相机的旋转值以及Zoom值
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/5fbe74e04ae04401c064e67bb8e7d82d" alt="" /></p>
<h3>4.程序切换相机</h3>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/c55bfc905e30992a263eb19a173f259e" alt="" />
参数说明:
<strong>CameraGroup</strong>:相机组名。(项目制作中和程序约定)
<strong>CameraIndex</strong>:相机索引。(项目制作中和程序约定)
<strong>Flash</strong>:True:闪现,无切换过渡 False:常规模式,有过渡
<strong>Subsystem_Camera:相机子系统,相机相关操作都放在该系统中。</strong></p>