ReferenceScripting APIMotionVoicecrossfadeTo
MotionVoice.crossfadeTo
methodFades this voice out as another sound fades in, over seconds.
| Name | crossfadeTo |
|---|---|
| Kind | method of MotionVoice |
| Called as | voice.crossfadeTo(…) |
| Since | 0.3 |
Syntax
crossfadeTo( other: MotionSound, seconds: number): MotionVoiceParameters
| Name | Type | Description |
|---|---|---|
other | MotionSound | A sound from scene.loadSound |
seconds | number | How long the crossing takes |
Returns
MotionVoice: the new voice.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.