Ejemplo n.º 1
0
        public override void Initialize(ComponentCache componentCache, GameEngineState gameEngineState, string[] sofaFileNames)
        {
            foreach (var sofaFileName in sofaFileNames)
            {
                PhononFmod.iplFmodAddSOFAFileName(sofaFileName);
            }
            PhononFmod.iplFmodSetCurrentSOFAFile(0);

            PhononFmod.iplFmodSetEnvironment(gameEngineState.SimulationSettings(),
                                             gameEngineState.Environment().GetEnvironment(), gameEngineState.ConvolutionType());
        }
Ejemplo n.º 2
0
 public override void UpdateSOFAFile(int index)
 {
     PhononFmod.iplFmodSetCurrentSOFAFile(index);
 }