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

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

81. laya.ui.AutoBitmap_API3.0 [ 68%]

...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inhe...

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

82. laya.ui.Image [ 68%]

...源加载完成后,会自动缓存至资源库中。 Image  source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动...

来源: laya_api 发布时间: 20170929

83. laya.ani.GraphicsAni_API3.0 [ 68%]

...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): Graphics...

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

84. 3D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 67%]

...1, 0, 0] }, u_AlbedoColor: { type: Color, default: [1, 1, 1, 1] }, u_AlbedoTexture: { type: Texture2D, options: { define: "ALBEDOTEXTURE" } }, u_NormalTexture: { type: Texture2D, options: { define: "NORMALTEXTURE" } }, u_NormalScale: { type: Float, default: 1.0, range: [0.0, 2.0] }, u_Metallic: { ty...

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

85. 源代码中Handler中的setTo()方法 [ 67%]

...啊 ,请问一下有别的方法吗 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 引擎中有使得Label中文字逐字显示的方法吗? JS如何调用经过转换的FLASH游戏里的方法? Laya.Media方法调用失败 问题状态 ...

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

86. laya.map.TileAniSprite [ 67%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

87. parameter 2 is not of type 'WebGLTexture' [ 67%]

parameter 2 is not of type 'WebGLTexture'   var htmlC:HTMLCanvas = btn_edit.drawToCanvas(btn_edit.width, btn_edit.height, 0, 0); var interceptT:Texture = new Texture(htmlC); var img:Sprite = new Sprite; img.graphics.drawImage(interceptT, 0, 0, btn_edit.width, btn_edit.height); Laya.stage.addChild(...

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

88. laya.ani.swf.MovieClip [ 67%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

89. 纹理图片转化bug [ 67%]

...目前转换是修改atlas里面的属性, 比如 ios添加上 "compressTextureIOS":true,"pvr":true   安卓添加上 "compressTextureAndroid":true,"etc":true   显示bug 就是 添加ios属性时 他会把 安卓的属性删掉, 添加安卓属性时 把ios的属性删掉 那么最后打包...

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

90. 龙骨是怎么转换的呢,导出的zip文件还是要解压出来的? [ 67%]

...夹及文件夹内的文件,其中包括2个.json和1个.png文件,2个texture不用管,另外一个.json文件需要和文加夹同名(NewDragon和NewDragon.json) 这样格式的龙骨文件转换是没有问题的,weichaoduo你看下你的文件,文件夹的名字叫:ui-z-shangshen...

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