This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
functions:hudsetcameraactoradvanced [2017/04/17 20:12] – korshun | functions:hudsetcameraactoradvanced [2017/04/17 20:14] (current) – korshun | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Description ===== | ===== Description ===== | ||
- | Sets [[: | + | Sets [[: |
Takes the following flags: | Takes the following flags: | ||
- | * HUD_CAMERAACTOR_NOPOSITION -- don' | + | * HUD_CAMERAACTOR_NOPOSITION -- don' |
- | * HUD_CAMERAACTOR_NODIRECTION -- don' | + | * HUD_CAMERAACTOR_NODIRECTION -- don' |
* 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' | * HUD_CAMERAACTOR_NOVIEWHEIGHT -- don't take the actor' | ||
Line 15: | Line 15: | ||
Use '' | Use '' | ||
- | ===== Examples ===== | ||
- | < | ||
- | while (IsPlaying()) | ||
- | { | ||
- | HudResetState(); | ||
- | HudSetCameraActor(0); | ||
- | Draw3DStuff(); | ||
- | Delay(1); | ||
- | } | ||
- | </ | ||