OSDN Git Service

SDL_Vulkan_UnloadLibrary 新規追加 https://wiki.libsdl.org/SDL_Vulkan_UnloadLibrary
[sdl2referencejp/sdl2referencejp.git] / Mix_SetDistance.html
index d8640c3..715d89f 100644 (file)
 <p>\r
 \96ß\82è\92l: \83`\83\83\83l\83\8b\82ª\95s\90³, <a href="Mix_RegisterEffect.html">Mix_RegisterEffect</a>\82É\8e¸\94s\82È\82Ç\82Ì\82Æ\82«0(\8bU)\r
 </p>\r
+<h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>\r
+<code>\r
+<pre>\r
+// \83`\83\83\83l\83\8b1\82ð\8dÅ\82à\89\93\82­\82É\82·\82é\r
+if(!Mix_SetDistance(1, 255)) {\r
+    printf("Mix_SetDistance: %s\n", Mix_GetError());\r
+    // \8b\97\97£\82ª\82È\82¢?\r
+}\r
+</pre>\r
+</code>\r
 <h2>\8eQ\8fÆ</h2>\r
 <a href="Mix_SetPosition.html">Mix_SetPosition</a>,\r
 <a href="Mix_UnregisterAllEffects.html">Mix_UnregisterAllEffects</a>\r