Provides data for the
AttachedSoundevent

C# |
public class AttachedSoundEventArgs : EventArgs

All Members | Constructors | Properties | |||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
AttachedSoundEventArgs(Simulator, UUID, UUID, UUID, Single, SoundFlags) |
Construct a new instance of the
SoundTriggerEventArgs class
|
![]() |
Flags |
Get the
SoundFlags
|
![]() |
Gain |
Get the volume level
|
![]() |
ObjectID |
Get the ID of the Object
|
![]() |
OwnerID |
Get the ID of the owner
|
![]() |
Simulator |
Simulator where the event originated
|
![]() |
SoundID |
Get the sound asset id
|

The
AttachedSoundevent occurs when the simulator sends the sound
data which emits from an agents attachment

The following code example shows the
process to subscribe to the
AttachedSoundevent and a stub to handle the data passed from
the simulator
![]() |
|
---|---|
// Subscribe to the AttachedSound event Client.Sound.AttachedSound += Sound_AttachedSound; // process the data raised in the event here private void Sound_AttachedSound( object sender, AttachedSoundEventArgs e) { // ... Process AttachedSoundEventArgs here ... } |
Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)