OSDN Git Service

API一覧に概要を追加 リンクを修正
[sdl2referencejp/sdl2referencejp.git] / old / Mix_SetDistance.html
diff --git a/old/Mix_SetDistance.html b/old/Mix_SetDistance.html
new file mode 100644 (file)
index 0000000..64798f7
--- /dev/null
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="ja-JP">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
+<meta http-equiv="Content-Style-Type" content="text/css">
+<meta name="keywords" content="SDL_mixer">
+<link rel="top" href="index.html" title="\83z\81[\83\80">
+<link rel="parent" href="SDL_mixer-functions-effects.html" title="1\82Â\8fã">
+<title>Mix_SetDistance</title>
+</head>
+<body>
+<a href="index.html#SDL_mixer">\96Ú\8e\9f</a> - <a href="SDL_mixer-functions.html">4.\8aÖ\90\94</a> - <a href="SDL_mixer-functions-effects.html">4.6\83G\83t\83F\83N\83g</a> - Mix_SetDistance
+<hr>
+<h1>Mix_SetDistance</h1>
+<p>
+<code>int Mix_SetDistance(int channel, Uint8 distance)</code>
+</p>
+<p>
+<dl>
+<dt>channel</dt><dd>\83G\83t\83F\83N\83g\82ð\93o\98^\82·\82é\83`\83\83\83l\83\8b\94Ô\8d\86. MIX_CHANNEL_POST\82Æ\82·\82é\82Æ\83~\83L\83V\83\93\83O\82Ì\8cã\82Ì\8f\88\97\9d</dd>
+<dt>distance</dt><dd>\95·\82«\8eè\82Æ\82Ì\8b\97\97£. 0(\8bß\82¢/\91å\82«\82¢)\81`255(\89\93\82¢/\8f¬\82³\82¢)</dd>
+</dl>
+</p>
+<p>
+\82±\82Ì\83G\83t\83F\83N\83g\82Í\89¹\82ð\8eã\82ß\82é\82±\82Æ\82Å\8b\97\97£\82ð\83V\83~\83\85\83\8c\81[\83g\82·\82é.
+\83{\83\8a\83\85\81[\83\80\82Í\8dÅ\91å\8b\97\97£\82Å\82à\96³\89¹\82É\82Í\82È\82ç\82È\82¢.
+</p>
+<p>
+\83\81\83\82: distance\82ð0\82É\82·\82é\82Æchannel\82©\82ç\82±\82Ì\83G\83t\83F\83N\83g\82ð\8dí\8f\9c\82·\82é.
+\83`\83\83\83l\83\8b\82É\91Î\82µ\82Ä<a href="Mix_UnregisterAllEffects.html">Mix_UnregisterAllEffects</a>\82ð\8eg\82¤\82±\82Æ\82ð\8f\9c\82¯\82Î, \82±\82Ì\95û\96@\88È\8aO\82Å\8dí\8f\9c\82·\82é\82±\82Æ\82Í\82Å\82«\82È\82¢.
+</p>
+<p>
+\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)
+</p>
+<h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>
+<code>
+<pre>
+// \83`\83\83\83l\83\8b1\82ð\8dÅ\82à\89\93\82­\82É\82·\82é
+if(!Mix_SetDistance(1, 255)) {
+    printf("Mix_SetDistance: %s\n", Mix_GetError());
+    // \8b\97\97£\82ª\82È\82¢?
+}
+</pre>
+</code>
+<h2>\8eQ\8fÆ</h2>
+<a href="Mix_SetPosition.html">Mix_SetPosition</a>,
+<a href="Mix_UnregisterAllEffects.html">Mix_UnregisterAllEffects</a>
+<h2>\8c´\95\82Ö\82Ì\83\8a\83\93\83N</h2>
+<a href="https://www.libsdl.org/projects/old/SDL_mixer/docs/SDL_mixer_81.html#SEC81">4.6.6 Mix_SetDistance</a>
+<hr>
+</body>
+</html>