💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
这是一个Cube立方体的 **物体数据** 的结构样例,整体上分为了2个部分: * 基础物体:根据物体type不同,需要特别声明的参数。 * 通用参数:每个物体普遍都有的属性、功能等参数。 ``` { /* 基础物体 */ 'type': 'cube', 'size': { 'x': 700, 'y': 200, 'z': 2, }, /* 通用参数 */ 'id' : '', 'name': '', 'style': { 'type' : 'Lambert', 'default' : '__DEFAULT__', 'emphasis': '__DEFAULT__', 'shadow': { 'cast' : false, 'receive': false, }, }, 'advgeom': [], 'visible': true, 'status' : 'normal', 'param': { }, 'property': { 'parent': '', 'group' : '', }, 'scale': { 'x':1, 'y':1, 'z':1 }, 'align': { 'center_point': 'bottom', // center,bottom,top,custom 'position': { 'x':0, 'y':0, 'z':0 }, }, 'position': { 'x': 0, 'y': 0, 'z': 0, }, 'rotation': { 'x': 0, 'y': 0, 'z': 0, }, 'label': { 'in_use' : false, 'visible' : true, 'title' : '', 'style' : { 'opacity': 1, 'margin_top': '0', 'bg_color': null, 'text_color': null, }, 'position': { 'x': 0, 'y': 0, 'z': 0, } }, 'infobox': { 'in_use' : false, 'visible': true, 'title' : '', 'content': '', 'style' : { 'arrow' : 'bottom', 'opacity': 1, 'margin_top': '0', }, 'position': { 'x': 0, 'y': 0, 'z': 0, }, }, 'icon': { 'in_use': false, 'visible': true, 'image': { 'type': 'info', 'path': '', }, 'style': { 'type': 'glint', //normal,glint 'width': 40, 'height': 40, 'opacity': 1, 'margin_top': '0', }, 'position' : { 'x': 0, 'y': 0, 'z': 0, }, }, 'intersect': { 'in_use': false, 'click' : { 'type' : '', //url,iframe,modal,function,infobox 'param': '', 'data' : '', }, 'hover' : { 'affect': [], 'type' : '', //infobox,function 'param' : '', 'data' : '', }, }, 'linkline': { 'in_use': false, 'visible': true, 'pathline': { 'data': [], }, 'style': { 'width': 1, 'color': '#FFF', }, }, 'float': { 'in_use': false, 'visible': true, 'position': { 'x': 0, 'y': 0, 'z': 0, }, 'html': '', }, 'animate': [ ], } ```