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

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

181. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 46%]

...过图片数据计算得到AStart网格 */ private createGridFromAStarMap(texture): any { var textureWidth = texture.width; var textureHeight = texture.height; var pixelsInfo = texture.getPixels(); var aStarArr = []; var index = 0; for (var w = 0; w < textureWidth; w++) { var colaStarArr = aStarA...

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

182. laya.ui.Radio [ 46%]

...omponent text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

183. laya.ui.ComboBox [ 45%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

184. laya.display.Sprite [ 42%]

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

来源: laya_api 发布时间: 20170929

185. laya.html.dom.HTMLIframeElement_API3.0 [ 42%]

...otation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destr...

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

186. laya.html.dom.HTMLDivElement_API3.0 [ 41%]

...otation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destr...

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

187. laya.display.Sprite [ 38%]

...动更新缓存,只能通过调用reCache方法手动刷新。Sprite  texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则...

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

188. 动画不显示 [ 37%]

...ya.net.Loader;     import laya.ui.TextArea;     import laya.resource.Texture;     import laya.maths.Point;     import laya.utils.Tween;     import laya.d3.resource.models.PrimitiveMesh;     import laya.debug.DebugPanel;     import laya.debug.DebugTool;     import laya.debug.u...

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

189. 二进制图片(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 37%]

...new Laya.loader.getRes(url); var ape = new Laya.Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200,0); } ``` 第三种我们直接创建一个纹理来显示: ```javascript function completeHandler(data){ //加载完成返回的data是arraybuffer //......这里处理...

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

190. laya.ui.ComboBox [ 36%]

...eCache方法手动刷新。Sprite tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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