content/hifi-content/milad/ROLC/Organize/Projects/Partner-Support/uofw/sign.js
2022-02-14 02:04:11 +01:00

16 lines
501 B
JavaScript

(function(){
return {
preload: function(id){
var position = Entities.getEntityProperties(id, ["position"]).position;
Entities.addEntity({
type: "Text",
text: "x: " + position.x + ", y: " + position.y + ", z: " + position.z,
lineHeight: 0.1,
textColor: {red: 50, green: 70, blue: 90},
backGroundColor: {red: 90, green: 70, blue: 50}
})
}
}
});