Api SurfaceSoundCollection
struct

SurfaceSoundCollection

public sealed struct SurfaceSoundCollection

Holds a dictionary of common sounds associated with a surface. This allows you to pick and choose an appropriate sound.

Properties

Name Type Description
FootLeft SoundEvent Left footstep sound.
FootRight SoundEvent Right footstep sound.
FootLaunch SoundEvent Jump sound for this surface.
FootLand SoundEvent Landing sound for this surface.
Bullet SoundEvent Bullet impact sound for this surface.
ImpactHard SoundEvent Hard, high velocity impact sound.
ImpactSoft SoundEvent Soft, low velocity impact sound.
ScrapeRough SoundEvent Rough scraping sound when scraping against another surface.
ScrapeSmooth SoundEvent Smooth scraping sound when scraping against another surface.
Break SoundEvent Sound to play when an object made of this breaks
Assembly: Sandbox.Engine Declaring Type: Surface Full Name: Sandbox.Surface.SurfaceSoundCollection