ReferenceScripting APIMotionSoundLayerfadeTo
MotionSoundLayer.fadeTo
methodMoves its volume to a new one over seconds.
| Name | fadeTo |
|---|---|
| Kind | method of MotionSoundLayer |
| Called as | scene.sound(…).fadeTo(…) |
| As a node | Fade Sound Layer (logic graph) |
| Since | 0.4 |
Syntax
fadeTo( volume: number, seconds: number): voidParameters
| Name | Type | Description |
|---|---|---|
volume | number | 0 to 2 |
seconds | number | How long the fade takes |
Returns
Nothing.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.