diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-23 09:24:54 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-23 09:24:54 +0900 |
| commit | 09ab25113c299b8f3208a717cee9e9b8c7b07fe9 (patch) | |
| tree | 3124aef01815fdf4484d5d2cc8e735b50d1d2969 /public/bluebey-studio/src/presets.js | |
| parent | 2ced83398189ac47588ddde87fdbf5cae106aa4d (diff) | |
bluebey-studio: ドラッグの役割を入れ替え、回転中心をぶるべーに固定
Diffstat (limited to 'public/bluebey-studio/src/presets.js')
| -rw-r--r-- | public/bluebey-studio/src/presets.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/public/bluebey-studio/src/presets.js b/public/bluebey-studio/src/presets.js index 75a8373..d9ed3e4 100644 --- a/public/bluebey-studio/src/presets.js +++ b/public/bluebey-studio/src/presets.js @@ -63,6 +63,10 @@ export function defaultState() { backgroundDarken: 0, // 0..1 dark veil, helps the character read backgroundScale: 1, backgroundOffset: { x: 0, y: 0 }, + // Screen-space shift of the whole view, in fractions of the canvas. This is + // the "move the camera centre" pan: the orbit target stays on ぶるべー, so + // rotating still turns around the character. + viewOffset: { x: 0, y: 0 }, // "Hide ぶるべー behind a tree" mask, made by tapping the photo. `mask` is // opaque where the object is; the export punches the character out there. occlusionMask: null, |
