From a9d4512398a6d4d984bd33a703cc6edfaf6de771 Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Sun, 10 Aug 2025 04:21:56 +0800 Subject: [PATCH] chore(stage-ui): allow to setup color picker --- .../Scenarios/Settings/ModelSettings/VRM.vue | 31 +++++++++++++++---- packages/stage-ui/src/stores/vrm.ts | 14 ++++----- 2 files changed, 32 insertions(+), 13 deletions(-) diff --git a/packages/stage-ui/src/components/Scenarios/Settings/ModelSettings/VRM.vue b/packages/stage-ui/src/components/Scenarios/Settings/ModelSettings/VRM.vue index 7037e18d2..f3abcd5b2 100644 --- a/packages/stage-ui/src/components/Scenarios/Settings/ModelSettings/VRM.vue +++ b/packages/stage-ui/src/components/Scenarios/Settings/ModelSettings/VRM.vue @@ -6,7 +6,7 @@ import { computed } from 'vue' import { useI18n } from 'vue-i18n' import { useVRM } from '../../../../stores' -import { Container, PropertyNumber, PropertyPoint } from '../../../DataPane' +import { Container, PropertyColor, PropertyNumber, PropertyPoint } from '../../../DataPane' import { Callout } from '../../../Layouts' import { Button } from '../../../Misc' import { ColorPalette } from '../../../Widgets' @@ -41,11 +41,15 @@ const { directionalLightTarget, directionalLightRotation, directionalLightIntensity, + directionalLightColor, ambientLightIntensity, + ambientLightColor, hemisphereLightPosition, hemisphereLightIntensity, + hemisphereSkyColor, + hemisphereGroundColor, } = storeToRefs(vrm) const trackingOptions = computed(() => [ @@ -121,14 +125,13 @@ function handleUrlLoad() { /> - +
{{ t('settings.vrm.scale-and-position.eye-tracking-mode.title') }}: - +
+