41 lines
1.3 KiB
JavaScript
41 lines
1.3 KiB
JavaScript
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'
|
|
}, {
|
|
value: 'environment3d',
|
|
icon: 'panorama-sphere-outline',
|
|
title: l.environment3d,
|
|
render: true,
|
|
type: 'Scene'
|
|
}, {
|
|
value: 'object3d',
|
|
icon: 'video-3d',
|
|
title: l.object3d,
|
|
render: true,
|
|
type: 'GameObject'
|
|
}, {
|
|
value: 'object2d',
|
|
icon: 'file-image-outline',
|
|
title: l.object2d,
|
|
type: 'GameObject'
|
|
}, {
|
|
value: 'player3d',
|
|
icon: 'human-greeting',
|
|
title: l.player3d,
|
|
render: true
|
|
}, {
|
|
value: 'audio',
|
|
icon: 'volume-medium',
|
|
title: l.audio
|
|
}]
|
|
}
|
|
}
|
|
} |