Play Clip
Plays a clip of a 3D layer's model item, faded into from the one playing.
ƒPlay Clip
Itemroom#0
Clip
Fade0.3
Speed1
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Itemitem | text | "room#0" | – |
Clipclip | text | – | – |
Fadefade | number | 0.3 | – |
Speedspeed | number | 1 | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
import { MeshComponent } from "motion";// On Scene Startnew MeshComponent("clip", "room#0").play("", { fade: 0.3, speed: 1 });In a graph
◆On Scene Start
ƒPlay Clip
Itemroom#0
Clip
Fade0.3
Speed1
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.