Voxes are small (32x32x32) .vox models, currently limited to 200 per parcel. These are usually made using Magicavoxel.
The URL of the .vox file.
(Optional)
; makes the .vox a clickable link.
(Optional)
; fit the size of the vox to fit the grid.
(Optional)
; Make the vox model a collidable object.
(Optional)
;
Allows you to change the color of your vox model.
This option will not appear if your vox has more than 5 colors.
String
; Links must be https://
and must finish with a vox extension .vox
Has to link to a 32x32x32 vox model or smaller.
feature.get('url')
// returns: "https://..."
feature.set({'url':"https://www.myurl.com/file.vox"})
""
String
; Links must be https://
.
feature.get('link')
// returns: "https://..."
feature.set({'link':"https://www.myurl.com/"})
""
Boolean
feature.get('collidable')
// returns: false
feature.set({'collidable': true})
false
String
;
feature.get('type')
/* or */
feature.type
// returns: 'vox-model'