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

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

6141. 绘制曲线(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 42%]

...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

6142. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 42%]

...完毕回调函数 function LoadResComplete() { ProgressBarPage.dispose(); new LoginView;  } } })(); })(); 删除   回复melody0529 • 2017-12-07 15:14 2017-12-07 0 0 分享 微博 QZONE 微信 melody0529 赞同来自: 运行一开始就出现这种情况,刷新之后可以运行,但是...

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

6143. Skeleton骨骼动画内存泄漏 [ 42%]

...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

6144. laya.d3.physics.shape.CompoundColliderShape_API3.0 [ 41%]

...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

6145. laya.d3.math.Bounds_API3.0 [ 41%]

...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

6146. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 41%]

...下根据你的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

6147. laya.particle.ParticleTemplate2D_API3.0 [ 41%]

...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

6148. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 41%]

...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

6149. Spine动画使用(TypeScript-LayaAir基础篇(TS)-动画基础) [ 41%]

...化舞台 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所示 ![动图8](img\8....

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

6150. laya.d3.graphics.VertexBuffer3D_API3.0 [ 41%]

...destroy getUint8Data orphanStorage setData unbind Constructors constructor new VertexBuffer3D(byteLength: number, bufferUsage: BufferUsage, canRead?: boolean): VertexBuffer3D Overrides VertexBuffer.constructor Defined in laya/d3/graphics/VertexBuffer3D.ts:35 创建一个 VertexBuffer3D 实例。 Par...

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