scardoc;Camera

scardoc;Camera
Functions

 Camera_CatromSplinePanOverTime( Variable var, Integer seconds, Boolean keepQueue, Boolean controlRotation )
 

将摄像机沿由实体/标记/位置/实体组/小队组/小队对象组成的样条曲线移动,在指定秒数内完成。【功能:摄像机样条曲线移动】

The camera will move from the position that was in front of it in the pan queue along the positions provided. Catmull-Rom interpolation between points is used

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (108) 

 Camera_CyclePositions( Table list, Boolean OPT_pan, Real OPT_panRate, ScarFn OPT_callback )
 

将摄像机移动经过一系列位置列表。【功能:摄像机位置循环移动】

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (245) 

 Camera_Follow( Variable var )
 

设置摄像机跟随一个小队组/小队/实体组/实体。【功能:摄像机跟随目标】

The camera will follow them until the player takes control again.

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (222) 

 Camera_LinearSplinePanOverTime( Variable var, Integer seconds, Boolean keepQueue, Boolean controlRotation )
 

将摄像机沿由实体/标记/位置/实体组/小队组/小队对象组成的样条曲线移动,在指定秒数内完成。【功能:摄像机线性样条移动】

The camera will move from the position that was in front of it in the pan queue along the positions provided. Linear interpolation between points is used

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (100) 

 Camera_MoveTo( Variable var, Boolean pan, Real panRate, Boolean keepInputLocked, Boolean resetToDefault )
 

以给定速度将摄像机移动到实体/标记/位置/实体组/小队组/小队。【功能:摄像机移动到目标】

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (115) 

 Camera_MoveToIfClose( Variable var )
 

如果目标在附近,则轻微调整摄像机焦点至实体/小队/小队组/实体组/位置/标记。【功能:条件性摄像机移动】

This function can be called through a CTRL object in NISlets.

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (199) 

 Camera_PanOverTimeRelative( Position delta, Integer seconds, Boolean keepQueue )
 

将摄像机从当前位置移动一定距离,在指定时间内完成。【功能:摄像机相对距离移动】

The position used is the position the camera will be in after completing the movement(s) queued in front.

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (40) 

 Camera_PanOverTimeTo( Variable var, Integer seconds, Boolean keepQueue )
 

将摄像机移动到实体/标记/位置/实体组/小队组/小队,在指定秒数内完成。【功能:摄像机定时移动到目标】

The camera will move from the position that was in front of it in the queue.

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (57) 

 Camera_ResetRotation( )
 

将摄像机重置为默认旋转角度。【功能:重置摄像机旋转】

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (32) 

 Camera_RotateRelative( Real angle )
 

相对于当前旋转角度旋转摄像机,单位为度。【功能:摄像机相对旋转】

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (26) 

 Camera_RotateTo( Real angle )
 

将摄像机旋转到指定角度,单位为度。【功能:摄像机旋转到指定角度】

  Source: [E:\P4Share\engine\assets\engine\scar\camera.scar] (19)