大约有 1,249 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0083 秒)
... Laya.Texture = Laya.Loader.getRes("progress.png"); this.spe = new coolDownSprite(); this.spe.init(texture); //this.spe.initWithoutTexture(128, 128); this.spe.pos(300, 350); this.spe.setProgress(this.progress); Laya.stage.addChild(this.spe); ----------------------源码-------------------------- imp...
来源: Laya_社区 发布时间: 20170606
...载问题 关于适配采用showAll后留白部分的颜色问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 我这样载入场景问题出现在哪呢?? graphics alpha 问题 写了个边缘光的自定义shader,有很多问题,帮忙看一下 ios原生回调问题 ...
来源: Laya_社区 发布时间: 20180425
...mo199059 • 2018-01-06 12:06 就是我用graphics.drawRect 画一个黑色sprite,在浏览器是里正常的,但是在apk里面是白色的 momo199059 • 2018-01-06 12:07 还有就是在apk里 htmldivelement 是不是html的<image>标签就无效了 momo199059 • 2018-01-06 12:14 黑色...
来源: Laya_社区 发布时间: 20180106
...vents Packagelaya.uiClasspublic class ListInheritanceList Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties Show Inher...
来源: Laya2.0_api 发布时间: 20190513
...路径三、地形处理3.1 高度图3.2 网格地形3D精灵 MeshTerrainSprite3D3.3 更新世界矩阵3.4 得到整数的网格索引3.5 得到世界坐标系下的真实坐标3.6 初始化目标点四、角色移动五、最终代码3D寻路 一、概述 本篇将讲解3D场景的寻路问题,...
来源: Laya3.0_文档 发布时间: 20230303
...负得正 为什么ani动画执行的不是按中心点执行的 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那...
来源: Laya_社区 发布时间: 20170912
...s PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWo...
来源: Laya3.0_api 发布时间: 20231115
...eChildren?: boolean): Box Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns Box Properties Optional _extra _extra: INodeExtra Inherited from N...
来源: Laya3.0_api 发布时间: 20231115
...dren?: boolean): ScaleBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited f...
来源: Laya3.0_api 发布时间: 20231115
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115