Table of Contents

Struct SoundHandle

Namespace
Root
Assembly
SPZGameAssembly.dll
public readonly struct SoundHandle
Extension Methods

Constructors

SoundHandle(SoundPlayer, int)

public SoundHandle(SoundPlayer player, int id)

Parameters

player SoundPlayer
id int

Fields

Invalid

public static SoundHandle Invalid

Field Value

SoundHandle

Properties

DspEndTime

public double DspEndTime { get; }

Property Value

double

IsPlaying

public bool IsPlaying { get; }

Property Value

bool

Methods

ChangePitch(float)

public void ChangePitch(float pitch)

Parameters

pitch float

ChangePosition(float3)

public void ChangePosition(float3 position)

Parameters

position float3

ChangeVolume(float)

public void ChangeVolume(float volume)

Parameters

volume float

Dispose()

public void Dispose()

Equals(SoundHandle)

public bool Equals(SoundHandle other)

Parameters

other SoundHandle

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

StopSound()

public void StopSound()

Operators

operator ==(SoundHandle, SoundHandle)

public static bool operator ==(SoundHandle lhs, SoundHandle rhs)

Parameters

lhs SoundHandle
rhs SoundHandle

Returns

bool

operator !=(SoundHandle, SoundHandle)

public static bool operator !=(SoundHandle lhs, SoundHandle rhs)

Parameters

lhs SoundHandle
rhs SoundHandle

Returns

bool