diff --git a/packages/stage-ui/src/components/Scenes/VRM.vue b/packages/stage-ui/src/components/Scenes/VRM.vue index fa935e4c5..db5633b31 100644 --- a/packages/stage-ui/src/components/Scenes/VRM.vue +++ b/packages/stage-ui/src/components/Scenes/VRM.vue @@ -15,9 +15,16 @@ import Environment from './VRM/Environment.vue' import { useVRM } from '../../stores/vrm' import { OrbitControls, VRMModel } from '../Scenes' -const props = defineProps<{ +const props = withDefaults(defineProps<{ modelSrc?: string -}>() + showAxes?: boolean + idleAnimation?: string + paused?: boolean +}>(), { + showAxes: false, + idleAnimation: '/assets/vrm/animations/idle_loop.vrma', + paused: false, + }) const emit = defineEmits<{ (e: 'loadModelProgress', value: number): void @@ -303,13 +310,13 @@ defineExpose({ - +