This commit is contained in:
2025-03-18 12:21:21 +02:00
parent eaa46eeda8
commit 1f6ee77c24
17 changed files with 407 additions and 275 deletions
+2 -11
View File
@@ -1,50 +1,41 @@
export default {
install: (app, options) => {
// inject a globally available $translate() method
let l = app.config.globalProperties.$l;
app.config.globalProperties.$p = {
objectTypes: [{
value: 'panorama2d',
icon: 'panorama-variant-outline',
title: l.panorama2d,
render: true,
type: 'Scene',
color: 'light-blue-darken-4'
}, {
value: 'environment3d',
icon: 'panorama-sphere-outline',
title: l.environment3d,
render: true,
type: 'Scene',
color: 'teal-darken-3'
color: 'orange-darken-4'
}, {
value: 'object3d',
icon: 'video-3d',
title: l.object3d,
render: true,
type: 'GameObject',
color: 'deep-orange-darken-4'
color: 'green-darken-4'
}, {
value: 'object2d',
icon: 'file-image-outline',
title: l.object2d,
type: 'Descriptive',
color: 'light-green-accent-4'
}, {
value: 'player3d',
icon: 'human-greeting',
title: l.player3d,
render: true,
color: 'yellow-accent-4'
}, {
value: 'audio',
icon: 'volume-medium',
title: l.audio,
color: 'deep-purple-accent-4'
}, {
value: 'video',
icon: 'filmstrip',
title: l.video,
type: 'Descriptive',
color: 'purple-darken-3'
}]