• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 395 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0119 秒)

161. laya.spine.SpineSkeleton_API3.0 [ 74%]

...or mouseThrough name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY animationName blendMode cacheAs components currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize externalSki...

来源: Laya3.0_api 发布时间: 20231115

162. 更新到1.7.6beta之后,HBox有bug [ 74%]

...; var img: laya.ui.Image = new laya.ui.Image(skin); s.width = img.width; s.height = img.height; s.addChild(img); hbox.addChild(s); } Laya.stage.addChild(hbox); } 2017-06-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 ...

来源: Laya_社区 发布时间: 20170607

163. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 74%]

...stage.width - this.progressBar.width) / 2; this.progressBar.y = Laya.stage.height / 2; this.progressBar.sizeGrid = "5,5,5,5"; this.progressBar.changeHandler = new Handler(this, this.onChange); Laya.stage.addChild(this.progressBar); Laya.timer.loop(100, this, this.changeValue); } private changeValue(...

来源: Laya2.0_文档 发布时间: 20210715

164. 设置cacheAs = bitmap时, drawCanvas 的一个bug [ 74%]

...个bug drawCanvas(canvas: HTMLCanvas, x: number, y: number, width: number, height: number): void { if (!canvas) return; var src: Context = canvas.context as Context; var submit: ISubmit; if (src._targets) { //生成渲染结果到src._targets上 /* this._submits[this._submits._length++] = SubmitCanv...

来源: Laya_社区 发布时间: 20210527

165. laya.display.EffectAnimation_API3.0 [ 74%]

...apMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize effectClass effectData filters ...

来源: Laya3.0_api 发布时间: 20231115

166. 自定义组件时,设置组件子节点的image的skin时,路径为layaIde的路径而非项目路径 [ 74%]

... new Sprite(); _proMask.graphics.drawRect(0, 0, _progress.width, _progress.height); _proMask.scaleX = 0; _progress.mask = _proMask; _bar.stateNum = 1; } override protected function createChildren():void { super.createChildren(); var index:Number = getChildIndex(_bg); addChildAt(_progress = new Image...

来源: Laya_社区 发布时间: 20170327

167. laya.ui.FontClip_API3.0 [ 74%]

...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY autoPlay blendMode bottom cacheAs centerX centerY clipHeight clipWidth clipX clipY components customRenderEnable dataSource destroyed direction disabl...

来源: Laya3.0_api 发布时间: 20231115

168. laya.ui.TextInput_API3.0 [ 74%]

...位置。 textInput.width = 300;//设置 textInput 的宽度。 textInput.height = 200;//设置 textInput 的高度。 Laya.stage.addChild(textInput);//将 textInput 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的...

来源: Laya3.0_api 发布时间: 20231115

169. 关于layaCanvas大小自适应的建议 [ 74%]

...议 <div id="layaContainer"><canvas id="layaCanvas" width="1920" height="181" class="layaCanvas" style="position: absolute; left: 0px; top: 0px; background: rgb(0, 0, 0); transform-origin: 0px 0px 0px; transform: matrix(1, 0, 0, 1, 0, 0); width: 100%; height: 100%; display: block;"></...

来源: Laya_社区 发布时间: 20180124

170. 3D基础显示对象 · LayaAir3.4 · 引擎文档 · LAYABOX [ 74%]

...创建网格的: /** * 创建Box网格。 * @param long 半径 * @param height 垂直层数 * @param width 水平层数 * @return */ static createBox(long: number = 1, height: number = 1, width: number = 1): Mesh 可以看到,通过 createBox 方法,可以创建Box网格,而且还可以创...

来源: Laya3.0_文档 发布时间: 20251010