HPL3/Amnesia: Rebirth/Scripting/cSoundEntity
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 AddChild
- 3.2 FadeIn
- 3.3 FadeIn
- 3.4 FadeOut
- 3.5 FadeSpeedMul
- 3.6 FadeVolumeMul
- 3.7 GetAverageSpectrum
- 3.8 GetBoundingVolume
- 3.9 GetChildIterator
- 3.10 GetCreationID
- 3.11 GetCustomMaxDistance
- 3.12 GetCustomMinDistance
- 3.13 GetDataType
- 3.14 GetElapsedTime
- 3.15 GetEntityParent
- 3.16 GetEntityType
- 3.17 GetID
- 3.18 GetLocalMatrix
- 3.19 GetLocalPosition
- 3.20 GetMaxDistance
- 3.21 GetMinDistance
- 3.22 GetName
- 3.23 GetParam
- 3.24 GetParam
- 3.25 GetRemoveWhenOver
- 3.26 GetReverbActive
- 3.27 GetReverbAmount
- 3.28 GetScriptableIsSaved
- 3.29 GetSoundEntry
- 3.30 GetSoundFile
- 3.31 GetSoundFile3D
- 3.32 GetSoundFileBlockable
- 3.33 GetSoundFileBlockMul
- 3.34 GetSoundFileEntryType
- 3.35 GetSoundFileLoop
- 3.36 GetSoundFilePriority
- 3.37 GetSoundFileStream
- 3.38 GetTransformUpdateCount
- 3.39 GetUniqueID
- 3.40 GetUseCustomProperties
- 3.41 GetVolume
- 3.42 GetWorldMatrix
- 3.43 GetWorldPosition
- 3.44 HasParent
- 3.45 IsActive
- 3.46 IsChild
- 3.47 IsFadingOut
- 3.48 IsOneShot
- 3.49 IsStopped
- 3.50 Play
- 3.51 RemoveChild
- 3.52 SetActive
- 3.53 SetCustomMaxDistance
- 3.54 SetCustomMinDistance
- 3.55 SetElapsedTime
- 3.56 SetMatrix
- 3.57 SetName
- 3.58 SetParam
- 3.59 SetParam
- 3.60 SetParamHash
- 3.61 SetPosition
- 3.62 SetReverbActive
- 3.63 SetReverbAmount
- 3.64 SetScriptableIsSaved
- 3.65 SetSoundFile3D
- 3.66 SetSoundFileBlockable
- 3.67 SetSoundFileBlockMul
- 3.68 SetSoundFileEntryType
- 3.69 SetSoundFileLoop
- 3.70 SetSoundFilePriority
- 3.71 SetSoundFileStream
- 3.72 SetSpeakerSpread
- 3.73 SetupSoundFile
- 3.74 SetUseCustomProperties
- 3.75 SetVolume
- 3.76 SetWorldMatrix
- 3.77 SetWorldPosition
- 3.78 Stop
- 3.79 UpdateLogic
- 4 References
Fields
cSoundEntity has no public fields.
Functions
Details
AddChild
FadeIn
void FadeIn(float afSpeed)
Parameters
- afSpeed (float) —
Returns:
- void
FadeIn
void FadeIn(float afSpeed,
float afTargetVol)
Parameters
- afSpeed (float) —
- afTargetVol (float) —
Returns:
- void
FadeOut
void FadeOut(float afSpeed)
Parameters
- afSpeed (float) —
Returns:
- void
FadeSpeedMul
void FadeSpeedMul(float afDest,
float afSpeed)
Parameters
- afDest (float) —
- afSpeed (float) —
Returns:
- void
FadeVolumeMul
void FadeVolumeMul(float afDest,
float afSpeed)
Parameters
- afDest (float) —
- afSpeed (float) —
Returns:
- void
GetAverageSpectrum
void GetAverageSpectrum(float &out aDestArray,
int alNumValues = 64)
Parameters
- aDestArray (float) —
- alNumValues (int) —
Returns:
- void
GetBoundingVolume
cBoundingVolume@+ GetBoundingVolume()
Returns:
- cBoundingVolume@+—
GetChildIterator
cEntity3DIterator@ GetChildIterator()
Returns:
- cEntity3DIterator@—
GetCreationID
int GetCreationID()
Returns:
- int—
GetCustomMaxDistance
float GetCustomMaxDistance()
Returns:
- float—
GetCustomMinDistance
float GetCustomMinDistance()
Returns:
- float—
GetDataType
eSoundEntityDataType GetDataType()
Returns:
- eSoundEntityDataType—
GetElapsedTime
float GetElapsedTime()
Returns:
- float—
GetEntityParent
iEntity3D@ GetEntityParent()
Returns:
- iEntity3D@—
GetEntityType
eEntityType GetEntityType()
Returns:
- eEntityType—
GetID
tID GetID()
Returns:
- tID—
GetLocalMatrix
cMatrixf& GetLocalMatrix()
Returns:
- cMatrixf&—
GetLocalPosition
cVector3f GetLocalPosition()
Returns:
- cVector3f—
GetMaxDistance
float GetMaxDistance()
Returns:
- float—
GetMinDistance
float GetMinDistance()
Returns:
- float—
GetName
const tString& GetName()
Returns:
- const tString&—
GetParam
float GetParam(int alIdx)
Parameters
- alIdx (int) —
Returns:
- float—
GetParam
GetRemoveWhenOver
bool GetRemoveWhenOver()
Returns:
- bool—
GetReverbActive
bool GetReverbActive()
Returns:
- bool—
GetReverbAmount
float GetReverbAmount()
Returns:
- float—
GetScriptableIsSaved
bool GetScriptableIsSaved()
Returns:
- bool—
GetSoundEntry
cSoundEntry@ GetSoundEntry(bool abCheckEntryValidity)
Parameters
- abCheckEntryValidity (bool) —
Returns:
- cSoundEntry@—
GetSoundFile
const tString& GetSoundFile()
Returns:
- const tString&—
GetSoundFile3D
bool GetSoundFile3D()
Returns:
- bool—
GetSoundFileBlockable
bool GetSoundFileBlockable()
Returns:
- bool—
GetSoundFileBlockMul
float GetSoundFileBlockMul()
Returns:
- float—
GetSoundFileEntryType
eSoundEntryType GetSoundFileEntryType()
Returns:
- eSoundEntryType—
GetSoundFileLoop
bool GetSoundFileLoop()
Returns:
- bool—
GetSoundFilePriority
int GetSoundFilePriority()
Returns:
- int—
GetSoundFileStream
bool GetSoundFileStream()
Returns:
- bool—
GetTransformUpdateCount
int GetTransformUpdateCount()
Returns:
- int—
GetUniqueID
int GetUniqueID()
Returns:
- int—
GetUseCustomProperties
bool GetUseCustomProperties()
Returns:
- bool—
GetVolume
float GetVolume()
Returns:
- float—
GetWorldMatrix
cMatrixf& GetWorldMatrix()
Returns:
- cMatrixf&—
GetWorldPosition
cVector3f GetWorldPosition()
Returns:
- cVector3f—
HasParent
bool HasParent()
Returns:
- bool—
IsActive
bool IsActive()
Returns:
- bool—
IsChild
IsFadingOut
bool IsFadingOut()
Returns:
- bool—
IsOneShot
bool IsOneShot()
Returns:
- bool—
IsStopped
bool IsStopped()
Returns:
- bool—
Play
void Play()
Returns:
- void
RemoveChild
SetActive
void SetActive(bool abActive)
Parameters
- abActive (bool) —
Returns:
- void
SetCustomMaxDistance
void SetCustomMaxDistance(float afX)
Parameters
- afX (float) —
Returns:
- void
SetCustomMinDistance
void SetCustomMinDistance(float afX)
Parameters
- afX (float) —
Returns:
- void
SetElapsedTime
void SetElapsedTime(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMatrix
void SetMatrix(const cMatrixf &in a_mtxTransform)
Parameters
- a_mtxTransform (cMatrixf) —
Returns:
- void
SetName
SetParam
void SetParam(int alIdx,
float afValue)
Parameters
- alIdx (int) —
- afValue (float) —
Returns:
- void
SetParam
void SetParam(const tString &in asName,
float afValue)
Parameters
- asName (tString) —
- afValue (float) —
Returns:
- void
SetParamHash
void SetParamHash(int alHash,
float afValue)
Parameters
- alHash (int) —
- afValue (float) —
Returns:
- void
SetPosition
SetReverbActive
void SetReverbActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetReverbAmount
void SetReverbAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetScriptableIsSaved
void SetScriptableIsSaved(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSoundFile3D
void SetSoundFile3D(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSoundFileBlockable
void SetSoundFileBlockable(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSoundFileBlockMul
void SetSoundFileBlockMul(float afX)
Parameters
- afX (float) —
Returns:
- void
SetSoundFileEntryType
void SetSoundFileEntryType(eSoundEntryType aType)
Parameters
- aType (eSoundEntryType) —
Returns:
- void
SetSoundFileLoop
void SetSoundFileLoop(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSoundFilePriority
void SetSoundFilePriority(int alX)
Parameters
- alX (int) —
Returns:
- void
SetSoundFileStream
void SetSoundFileStream(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSpeakerSpread
void SetSpeakerSpread(float afX)
Parameters
- afX (float) —
Returns:
- void
SetupSoundFile
void SetupSoundFile(const tString &in asFile,
bool abLoop)
Parameters
- asFile (tString) —
- abLoop (bool) —
Returns:
- void
SetUseCustomProperties
void SetUseCustomProperties(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetVolume
void SetVolume(float afX)
Parameters
- afX (float) —
Returns:
- void
SetWorldMatrix
void SetWorldMatrix(const cMatrixf &in a_mtxWorldTransform)
Parameters
- a_mtxWorldTransform (cMatrixf) —
Returns:
- void
SetWorldPosition
void SetWorldPosition(const cVector3f &in avWorldPos)
Parameters
- avWorldPos (cVector3f) —
Returns:
- void
Stop
void Stop(bool abPlayEndSound)
Parameters
- abPlayEndSound (bool) —
Returns:
- void
UpdateLogic
void UpdateLogic(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void
References
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxAgent (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxArea (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxCritter (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxLiquidArea (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxProp (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxPushableFogArea (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxSoundscapeArea (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxVisibilityPortal (← links)
- HPL3/Amnesia: Rebirth/Scripting/cSoundEntityIterator (← links)
- HPL3/Amnesia: Rebirth/Scripting/cWorld (← links)
- HPL3/Amnesia: Rebirth/Scripting/iLuxEntity (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cLux (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cScene (← links)