大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0081 秒)
...部的protobuf库: <!--用户自定义顺序文件添加到这里--> <!--jsfile--Custom--> <script type="text/javascript" src="libs/protobuf.js"></script> <!--jsfile--Custom--> 3、测试代码参考了上面那个连接,但稍微做了修改...
来源: Laya_社区 发布时间: 20170216
...期望是: htmldivelement.innerHtml = <font style='text-align:center'>文本居中</font><br>此行文本不居中 实际上是哪怕只有一行文本,我的font标签都不好使,没有居中效果。必须设置htmldivelement.style.align。可以这样的话整个htmldive...
来源: Laya_社区 发布时间: 20170125
...rited Public Properties PropertyDefined By bones : Vector.<Sprite3D>[read-only] 用于蒙皮的骨骼。 SkinnedMeshRenderer bounds : Bounds[read-only] 获取包围盒,只读,不允许修改其值。 BaseRender castShadow : Boolean 获取是否产生阴影。 BaseRender enable : Boolean...
来源: Laya2.0_api 发布时间: 20190513
...回复 w1114367261 赞同来自: /** * <p>加载资源。资源加载错误时,本对象会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。</p> * <p>因为返回值为 LoaderManager 对象本身,所...
来源: Laya_社区 发布时间: 20180502
我看到这段话后,我 /** *<p>数据赋值,通过对UI赋值来控制UI显示逻辑。</p> *<p>简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。</p> *@example //默认...
来源: Laya_社区 发布时间: 20190803
HTMLDivElement的innerHTML属性使用问题 <font color='#f07800'>钻石<br/>钻石2</font> 这个在标签中间加换行无效,且内容显示不完整?先前看帖子说在解决,到现在还没处理么? 2018-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20180418
...(start):start; this.loop=loop; if (this._frames && this._frames.length > 1 && this.interval > 0){ this.timerLoop(this.interval,this,this._frameLoop,null,true); } } __proto._setFramesFromCache=function(name){ if (name && Animation.framesMap[name]){ this._frames=Animation...
来源: Laya_社区 发布时间: 20161006
...复,等待下次发版,或您手动修复一下。 if (this._max >= this._min) { this._value = this._value > this._max ? this._max : this._value < this._min ? this._min : this._value; } else { //当设置的最小值大于最大值的...
来源: Laya_社区 发布时间: 20220817
...= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.img1 ||this.ball.y + this.vy <= 0) { this.vy = -this.vy; console.log("33333"); } if (this.ball.x + this.vx > this.stageWidth ||this.ball.x + this.vx < 0) { this.vx = -this.vx; console.log("444444"); } if (t...
来源: Laya_社区 发布时间: 20171108
...预览运行进程调用UI进程的脚本: let EditorClient = (<any>window).EditorClient; EditorClient.postMessageToPanel("ProjectPanel", "select", assetId); //调用自定义的Panel的一个方法,并返回结果 let ret = await EditorClient.sendMessageToPanel("MyPanel", "getResult"); //...
来源: Laya3.0_文档 发布时间: 20251010