Entity Description

hello,

is it possible to add to an entity description either a variable/jsx?

something like below:

if (tracks) {
    this.track = tracks.entities.add({
        position: position,
        eyeOffset: eyeOffSet,
        verticalOrigin: verticalOrigin,
        horziontalOrigin: horizontalOrigin,
        billboard: billboard,
        name: name,
        description:'<div>name:{name}</div>',
    });

doesn’t work out, when I’m trying without ’ ’ I will get [object][object] in the description of the infobox.

thanks,

Lior.

I think you might need to resolve the value yourself there, so it would look something like:

description:‘

name:’ + name + '
`;

``