CameraSetupApplyForPlayerSmooth
- Parameters
doPan booleanwhichSetup camerasetupwhichPlayer playerforcedDuration realeaseInDuration realeaseOutDuration realsmoothFactor real- comment
- patch
1.32.0.13369
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
function CameraSetupApplyForPlayerSmooth takes boolean doPan, camerasetup whichSetup, player whichPlayer, real forcedDuration, real easeInDuration, real easeOutDuration, real smoothFactor returns nothing if (GetLocalPlayer() == whichPlayer) then // Use only local code (no net traffic) within this block to avoid desyncs. call BlzCameraSetupApplyForceDurationSmooth(whichSetup, doPan, forcedDuration, easeInDuration, easeOutDuration, smoothFactor) endif endfunction