getSoundLength

Script::getSoundLength

Returns the length of a sound.

Declaration

float getSoundLength(SoundID soundID);

Parameters

Name

Type

Description

soundID

SoundID

The sound to get the length of.

Returns

The length of the sound, in seconds.