DopplerPreset Asset

From COD Engine Research
Revision as of 05:19, 22 December 2014 by CraigChrist8239 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The dopplerpreset asset was added on Ghosts holds information pertaining to how sound changes from an object that is either moving away from, or toward the listener.

struct __declspec(align(8)) DopplerPreset
{
  const char *p_name;
  float speedOfSound;
  float playerVelocityScale;
  float minPitch;
  float maxPitch;
  float smoothing;
};