public static void UpdateCuePosition(MySoundCue cue, Vector3 position, Vector3 forward, Vector3 up, Vector3 velocity) { if (m_canPlay == false) return; if (!cue.IsValid) return; if (!cue.Is3D) return; CheckCue(cue); if (!MyFakes.OPTIMIZATION_FOR_300_SMALLSHIPS) { CalculateOcclusion(cue, position); } m_helperEmitter.UpdateValues(ref position, ref forward, ref up, ref velocity); cue.Apply3D(m_listener, m_helperEmitter); }