io3fix
Version:
toolkit for interior apps
29 lines (28 loc) • 551 B
JavaScript
export default {
description: 'polygonal extrusion object',
params: {
v: {
type: 'number',
defaultValue: 1,
optional: true,
description: 'version'
},
h: { // height in meters
type: 'number',
defaultValue: 1,
optional: false,
min: 0.01
},
polygon: {
//type: 'array-with-arrays-with-numbers',
type: 'array',
aframeType: 'string',
optional: false
}
},
childrenTypes: [],
parentTypes: ['level'],
aframeComponent: {
name: 'io3d-polybox'
}
}