game object module

This commit is contained in:
2024-11-06 20:09:02 +02:00
parent e3a2a0251d
commit 7180cfeb7f
16 changed files with 201 additions and 70 deletions
+37
View File
@@ -0,0 +1,37 @@
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
}, {
value: 'environment3d',
icon: 'panorama-sphere-outline',
title: l.environment3d,
render: true
}, {
value: 'object3d',
icon: 'video-3d',
title: l.object3d,
render: true
}, {
value: 'object2d',
icon: 'file-image-outline',
title: l.object2d
}, {
value: 'player3d',
icon: 'human-greeting',
title: l.player3d,
render: true
}, {
value: 'audio',
icon: 'volume-medium',
title: l.audio
}]
}
}
}