Doesn’t look like its supported.
Since the user doesn’t see the data behind each enum, one option is to change to string array of numbers. I’ve confirmed the following works
Test.attributes.add('enumTest', {
type: 'string',
enum: [
{ 'one': '0,1,2' },
{ 'two': '1,0,2' },
{ 'three': '2,0,1' }
]
});
// initialize code called once per entity
Test.prototype.initialize = function () {
const v = this.enumTest.split(',')
const vec = new pc.Vec3(v[0], v[1], v[2])
console.log(vec)