API ReferenceSandbox
VisemeTrackclass
A sound's lipsync track - visemes over time, authored in the sound editor and stored in the sound's .meta file. Sample it at the sound's playback time to get viseme weights to drive a face's morphs.
object→VisemeTrack
Methods1
Showing 1 methods
public bool Sample(float time, System.Span`1<float> weights)
| Parameter | Type | Description |
|---|---|---|
| time | float | — |
| weights | Span<float> | — |
Returns:
bool—No results match this filter.
Properties2
Showing 2 properties
public float Sandbox.VisemeTrack.Duration { get; set; }
End time of the last frame, in seconds.
Returns:
float—public System.Collections.Generic.IReadOnlyList`1<Sandbox.VisemeFrame> Sandbox.VisemeTrack.Frames { get; set; }
The viseme frames, sorted by start time.
No results match this filter.