大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...ion drawSomething():void { sp = new Sprite(); Laya.stage.addChild(sp); //画曲线 sp.graphics.drawCurves(10, 58, [0, 0, 19, -100, 39, 0], "#ff0000", 3); ...
来源: Laya2.0_文档 发布时间: 20210714
...完毕回调函数 function LoadResComplete() { ProgressBarPage.dispose(); new LoginView; } } })(); })(); 删除 回复melody0529 • 2017-12-07 15:14 2017-12-07 0 0 分享 微博 QZONE 微信 melody0529 赞同来自: 运行一开始就出现这种情况,刷新之后可以运行,但是...
来源: Laya_社区 发布时间: 20171207
...id{ if(e.keyCode == 49 || e.keyCode == 97){ if(this.te == null){ this.te = new Laya.Templet(); this.te.on(Laya.Event.COMPLETE, this, this.teComplete); this.te.loadAni("res/wing_01_side.sk"); } } else if(e.keyCode == 50 || e.keyCode == 98) { if(this.te != null){ this.te.destroy(); this.te = null; thi...
来源: Laya_社区 发布时间: 20190320
...Count removeChildShape updateLocalTransformations Constructors constructor new CompoundColliderShape(): CompoundColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/CompoundColliderShape.ts:31 创建一个新的 CompoundColliderShape 实例。 Returns CompoundColliderSh...
来源: Laya3.0_api 发布时间: 20231115
...Center setExtent setMax setMin containPoint merge Constructors constructor new Bounds(min?: Vector3, max?: Vector3): Bounds Defined in laya/d3/math/Bounds.ts:130 创建一个 Bounds 实例。 Parameters Optional min: Vector3 min 最小坐标 Optional max: Vector3 max 最大坐标。 Returns Bounds A...
来源: Laya3.0_api 发布时间: 20231115
...下根据你的alpha值对每条项进行属性赋值 tree.renderHandler=new Handler(this,onTreeRender); // 返回值e代表的是item项 private function onTreeRender(e):void { //获取每条Item的alpha属性并赋值给Item对象 if(e._dataSource.isAlpha) { var alphaNum:Number=e._dataSource.isAlp...
来源: Laya_社区 发布时间: 20170717
...emoveReference _setCPUMemory _setCreateURL _setGPUMemory addDrawCounter addNewParticlesToVertexBuffer addParticleArray blend destroy event getConchMesh getFirstActiveElement getFirstFreeElement getFirstNewElement getFirstRetiredElement getMesh getRenderType hasListener isCreateFromURL off offAll off...
来源: Laya3.0_api 发布时间: 20231115
...derTexture2D(80, 80, 0, 0, null, true, true, null, 80/56, 80/56); let t2 = new Laya.Sprite(); Laya.stage.addChild(t2); let Texture = Laya.Texture.create(t, 0, 0, t.width, t.height); t2.graphics.drawImage(Texture, 0, 0, 56, 56); } 2025-09-23 0 0 分享 微博 QZONE 微信 LayaAir大为 赞同来自: ...
来源: Laya_社区 发布时间: 20250827
...化舞台 Laya.init(1334,750); //创建一个Skeleton对象 var skeleton = new Laya.Skeleton(); //添加到舞台 Laya.stage.addChild(skeleton); skeleton.pos(600,700); //通过加载直接创建动画 skeleton.load("res/spine/spineboy/spineboy.sk"); ``` 运行效果如动图8所示 : VertexBuffer3D Overrides VertexBuffer.constructor Defined in laya/d3/graphics/VertexBuffer3D.ts:35 创建一个 VertexBuffer3D 实例。 Par...
来源: Laya3.0_api 发布时间: 20231115