game object module
This commit is contained in:
@@ -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
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user