SE を演奏します。
Namespace: LuminoAssembly: LuminoDotNet (in LuminoDotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void PlaySE(
string filePath,
float volume = 1f,
float pitch = 1f
)
Public Shared Sub PlaySE (
filePath As String,
Optional volume As Single = 1F,
Optional pitch As Single = 1F
)
public:
static void PlaySE(
String^ filePath,
float volume = 1f,
float pitch = 1f
)
static member PlaySE :
filePath : string *
?volume : float32 *
?pitch : float32
(* Defaults:
let _volume = defaultArg volume 1f
let _pitch = defaultArg pitch 1f
*)
-> unit
Parameters
- filePath
- Type: SystemString
ファイルパス - volume (Optional)
- Type: SystemSingle
ボリューム (0.0~1.0) - pitch (Optional)
- Type: SystemSingle
ピッチ (0.5~2.0)
Remarks
SE はゲーム中の効果音です。 SE は同時に複数再生することができ、同じ音声を演奏した場合は 重ねがけされて演奏されます。
See Also