Source2Toolkit
SchemaEntityClasses

CAmbientGeneric

CAmbientGeneric

Inheritance: CPointEntity

Fields

  • m_radius float
  • m_flMaxRadius float
  • m_iSoundLevel soundlevel_t
  • m_dpv dynpitchvol_t
  • m_fActive bool
  • m_fLooping bool
  • m_iszSound CGameSoundEventName
  • m_sSourceEntName CUtlSymbolLarge
  • m_hSoundSource CHandle<CBaseEntity>
  • m_nSoundSourceEntIndex CEntityIndex

Methods

CAmbientGeneric* New(className)

Parameters
  • className const char*

CAmbientGeneric* FromIndex(iIndex)

Parameters
  • iIndex int

CAmbientGeneric* FromIndex(index)

Parameters
  • index CEntityIndex

CHandle<CAmbientGeneric> GetHandle()

On this page