ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:hudsetcameraactoradvanced

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
functions:hudsetcameraactoradvanced [2017/04/17 20:12] korshunfunctions:hudsetcameraactoradvanced [2017/04/17 20:13] korshun
Line 8: Line 8:
  
 Takes the following flags: Takes the following flags:
-  * HUD_CAMERAACTOR_NOPOSITION -- don'call [[HudSetCameraPosition]]. +  * HUD_CAMERAACTOR_NOPOSITION -- don'set [[:HUD Library state#camera_position|camera position]]. 
-  * HUD_CAMERAACTOR_NODIRECTION -- don'call [[HudSetCameraDirection]].+  * HUD_CAMERAACTOR_NODIRECTION -- don'set [[:HUD Library state#camera_position|camera direction]].
   * HUD_CAMERAACTOR_NOPREDICTION -- don't try to shift camera position based on actor velocity to minimize positioning artifacts caused by [[:35 fps]] rendering.   * HUD_CAMERAACTOR_NOPREDICTION -- don't try to shift camera position based on actor velocity to minimize positioning artifacts caused by [[:35 fps]] rendering.
   * HUD_CAMERAACTOR_NOVIEWHEIGHT -- don't take the actor's view height into account.   * HUD_CAMERAACTOR_NOVIEWHEIGHT -- don't take the actor's view height into account.
Line 15: Line 15:
 Use ''|'' operator to combine flags (e.g ''HUD_CAMERAACTOR_NOPREDICTION | HUD_CAMERAACTOR_NOVIEWHEIGHT''). Use ''|'' operator to combine flags (e.g ''HUD_CAMERAACTOR_NOPREDICTION | HUD_CAMERAACTOR_NOVIEWHEIGHT'').
  
-===== Examples ===== 
-<code> 
-while (IsPlaying()) 
-{ 
-    HudResetState(); 
-    HudSetCameraActor(0); 
-    Draw3DStuff(); 
-    Delay(1); 
-} 
-</code> 
  
functions/hudsetcameraactoradvanced.txt · Last modified: 2017/04/17 20:14 by korshun