Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
UFUNCTION (Unreliable, Client)
void ClientPlaySound
(
class USoundBase * Sound,
float VolumeMultiplier,
float PitchMultiplier
)
Remarks
Play sound client-side (so only the client will hear it)
Parameters
| Name | Description |
|---|---|
| Sound | Sound to play |
| VolumeMultiplier | Volume multiplier to apply to the sound |
| PitchMultiplier | Pitch multiplier to apply to the sound |