Lineclass
A subtitle line being spoken right now - a playing sound's subtitle track sampled at its playback time. Get these from `Sandbox.SubtitlesGameObjectSystem.GetActive(System.Collections.Generic.List)`.
Properties4
Showing 4 properties
public int Sandbox.SubtitlesGameObjectSystem.Line.CurrentWordIndex { get; set; }
Index into `Sandbox.SubtitleTrack.Words` of the latest word to have started, or -1 before the first word. Words up to here have been spoken - that's the karaoke highlight.
int—public Sandbox.SoundHandle Sandbox.SubtitlesGameObjectSystem.Line.Sound { get; set; }
The sound speaking this line, or null for subtitles injected with `Sandbox.SubtitlesGameObjectSystem.Show(System.String,System.Single)`. May have finished - lines hang around for a moment after their sound ends.
public float Sandbox.SubtitlesGameObjectSystem.Line.Time { get; set; }
How far into the line we are, in seconds - the sound's playback time, or time since `Sandbox.SubtitlesGameObjectSystem.Show(System.String,System.Single)` for injected subtitles.
float—public Sandbox.SubtitleTrack Sandbox.SubtitlesGameObjectSystem.Line.Track { get; set; }
The line's subtitle track.
No results match this filter.