32 lines
2.1 KiB
JSON
32 lines
2.1 KiB
JSON
{
|
|
"version": 1,
|
|
"componentID": "animation.AnimationPlayer",
|
|
"demoID": "animation.AnimationPlayer.play-once",
|
|
"documentID": "animation.AnimationPlayer",
|
|
"scene": "animation.AnimationPlayer/try",
|
|
"identity": "e32f2a132c61e7801055772bffcbb9ee3e17592bf2854c90f448dd3a6386f870",
|
|
"dependencies": [
|
|
"ae900000000000000000000000000010",
|
|
"ae900000000000000000000000000b10",
|
|
"ae900000000000000000000000000b00", "ae900000000000000000000000000b01",
|
|
"ae900000000000000000000000000b02", "ae900000000000000000000000000b03",
|
|
"ae900000000000000000000000000b04", "ae900000000000000000000000000b05",
|
|
"ae900000000000000000000000000b06", "ae900000000000000000000000000b07"
|
|
],
|
|
"editableFields": ["animation.AnimationPlayer.Speed"],
|
|
"actions": [{
|
|
"id": "play-run-clip", "field": "animation.AnimationPlayer.Speed", "value": 8,
|
|
"expected": [
|
|
{"observable": "animation.AnimationPlayer.Speed", "equals": 8, "changes": true},
|
|
{"observable": "animation.AnimationPlayer.Time", "equals": 0.5333333, "changes": true, "tolerance": 0.01}
|
|
],
|
|
"visual": {"minChangedPixels": 100, "maxResetDifferencePixels": 99}
|
|
}],
|
|
"reset": "reset",
|
|
"languages": {
|
|
"en": {"title": "Play the run clip", "description": "The real Animation Player starts the eight-frame run clip at speed 0. Loop is set to once, so the last frame remains after playback.", "input": "Change Speed from 0 to 8 to play the clip quickly. Reset restores the first frame and speed 0."},
|
|
"ru": {"title": "Воспроизведение клипа бега", "description": "Настоящий проигрыватель запускает восьмикадровый клип бега со скоростью 0. Режим once оставляет последний кадр после воспроизведения.", "input": "Измените Speed с 0 на 8, чтобы быстро воспроизвести клип. «Сброс» вернёт первый кадр и скорость 0."}
|
|
},
|
|
"environments": {"native": {"mode": "runtime"}, "chromium": {"mode": "runtime"}, "firefox": {"mode": "runtime"}}
|
|
}
|