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

大约有 444 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0062 秒)

331. 新人求教!!! [ 51%]

... imgUrl:String = (this.flag = !this.flag)? this.monkey2:this.monkey1;   //获取图片资源   var texture:Laya.Texture = Laya.loader.getRes(imgUrl);   //绘制纹理   this.img.graphics.drawTexture(texture);   //设置纹理宽高   this.img.size(texture.width, texture.height); <!--  我...

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

332. laya.ui.Image_API3.0 [ 51%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

333. cache bitmap size larger than 2048,cache ignored [ 51%]

...copyFile:fail the maximum size of the file storage limit is exceeded 怎么获取屏幕的size,这个size是包括屏幕的高度和宽度的 微信真机下游戏MAX_TEXTURE_SIZE Maximum call stack size exceeded 异常 cacheAs = "bitmap" 缓存之后图片变模糊 问题状态 最新活动: 2017...

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

334. laya.ui.ScaleBox [ 51%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

来源: Laya2.0_api 发布时间: 20190513

335. laya.renders.Render_API3.0 [ 51%]

...Static vsyncTime vsyncTime(): number Defined in laya/renders/Render.ts:135 获取帧对齐的时间。 用这个做动画的时间参数会更平滑。 从render构造开始算起。 Returns number Globals "laya/renders/Render" Render constructor _Render _customRequestAnimationFrame _loopFunction is...

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

336. laya.ani.swf.MovieClip [ 51%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  basePath : String资源根目录。MovieClip blendMode : String指定要使用的混合...

来源: laya_api 发布时间: 20170929

337. laya.ui.TextInput_API3.0 [ 51%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

338. laya.ui.TextArea_API3.0 [ 50%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

339. 请问一张513*513的图片,到显存里实际上是会被扩大成1024*1024吗 [ 50%]

...ir中如何使图片以圆形的方式显示? 请问有没有方法能够获取“鼠标是否处于按下状态”? 请问laya有没有地图编辑器工具? 请问在layaIDE里,怎么调用微信小程序API matter中layasprite怎么改变图片大小? 请问2.0的版本开始,我用ts...

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

340. laya.ui.HBox [ 50%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...

来源: laya_api 发布时间: 20170929