APILNGameAudio_PlaySE3DMem Method |
メモリ上の音声ファイルデータから SE を演奏します。 (3D サウンド)
Namespace: LuminoAssembly: LuminoDotNet (in LuminoDotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Result LNGameAudio_PlaySE3DMem(
byte[] data,
int dataSize,
ref Vector3 position,
float distance,
float volume = 1f,
float pitch = 1f
)
Public Shared Function LNGameAudio_PlaySE3DMem (
data As Byte(),
dataSize As Integer,
ByRef position As Vector3,
distance As Single,
Optional volume As Single = 1F,
Optional pitch As Single = 1F
) As Result
public:
static Result LNGameAudio_PlaySE3DMem(
array<unsigned char>^ data,
int dataSize,
Vector3% position,
float distance,
float volume = 1f,
float pitch = 1f
)
static member LNGameAudio_PlaySE3DMem :
data : byte[] *
dataSize : int *
position : Vector3 byref *
distance : float32 *
?volume : float32 *
?pitch : float32
(* Defaults:
let _volume = defaultArg volume 1f
let _pitch = defaultArg pitch 1f
*)
-> Result
Parameters
- data
- Type: SystemByte
メモリ上の音声ファイルデータ - dataSize
- Type: SystemInt32
データサイズ (バイト単位) - position
- Type: LuminoVector3
3D 空間上の座標 - distance
- Type: SystemSingle
減衰距離 - volume (Optional)
- Type: SystemSingle
ボリューム (0.0~1.0) - pitch (Optional)
- Type: SystemSingle
ピッチ (0.5~2.0)
Return Value
Type:
Result[Missing <returns> documentation for "M:Lumino.API.LNGameAudio_PlaySE3DMem(System.Byte[],System.Int32,Lumino.Vector3@,System.Single,System.Single,System.Single)"]
See Also