大约有 2,372 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1657) Laya3.0_api(170) Laya2.0_api(133) Laya2.0_文档(116) laya_api(102) Laya_示例(72) Laya2.0_示例(66) Laya3.0_文档(56)
...rByIndex(3).getTileData(tileX, tileY); // console.log(data) // console.log(Laya.Keyboard.RIGHT) switch (e.keyCode) { //右边 case 39: { this.player.x += 16 break; } case 37: { //左边 this.player.x -= 16 break; } case 38: { //上 this.player.y -= 16 break; } case 40: { //下 this.player.y += 16 ...
来源: Laya_社区 发布时间: 20230605
...ndex | Frames No Frames ColorFilterActionGLProperties | Methods Packagelaya.filters.webglClasspublic class ColorFilterActionGLInheritanceColorFilterActionGL FilterActionGL ObjectImplements IFilterActionGLPublic Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...
来源: laya_api 发布时间: 20170929
...现了一下3D坐标转2D坐标,过程如下: this.point.elements[0] = Laya.stage.mouseX; this.point.elements[1] = Laya.stage.mouseY; this.camera.viewportPointToRay(this.point, this.ray); Laya.Physics.rayCast(this.ray, this._outHitInfo) 然后: this.camera.viewport.project(this._outHitInfo.pos...
来源: Laya_社区 发布时间: 20180613
laya的hitTestPoint没有第三个参数吗,只检测到矩形碰撞?惨了我as3人物的精确碰撞都靠第三个参数 怎么改装成h5? public hitTestPoint( x:number,y:number ,shapeFlag:boolean ):boolean 计算显示对象,以确定它是否与 x 和 y 参数指定的点重叠或相...
来源: Laya_社区 发布时间: 20171106
...与内容相关的链接 提交 2 个回复 callback 赞同来自: https://layaair.ldc.layabox.com/demo/?category=2d&group=Tween&name=TimeLine function createTimerLine() { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0.5},2000,null,0) .addLabel("turnDown",0...
来源: Laya_社区 发布时间: 20180718
分享 分享一个Shader版的CoolDown实现 Laya的Pie做Mask在native下有bug,不能正常显示。就研究了下laya的custom shader,在没有详细文档的情况下搞出来了,但又发现无法在Native下使用。。。真是X了 既然无法使用,就分享出来,大家有...
来源: Laya_社区 发布时间: 20170606
# Tree 组件参考 ## 一、通过LayaAirIDE创建Tree组件 Tree 组件用来显示树状结构。用户可以查看排列为可扩展树的层次结构数据。 Tree 组件的脚本接口请参考 [Tree API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=...
来源: Laya2.0_文档 发布时间: 20210714
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya2.0_示例 发布时间: 20251130
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/Sprite" Sprite Class Sprite Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不...
来源: Laya3.0_api 发布时间: 20231115
...o return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 laya.physics3D.js:308 Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtim...
来源: Laya_社区 发布时间: 20191108