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

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

3641. List物件脱离视线 getCell的问题 [ 51%]

... 没想到是getCell的问题 我看API裡写 getCell () method   public function getCell(index:int):Box 通过可视单元格索引,获取单元格。 是不是就是指,只能获取可视的单元格 有没有获取可视外单元格的办法   2017-08-28 添加评论 免费帖 --> 分享 ...

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

3642. 加载时间轴动画报错 [ 51%]

...i.loadAtlas("res/atlas/comp.json", Laya.Handler.create(this, showApe));   function showApe(){ this.ani.loadAnimation("TimeLine.ani"); Laya.stage.addChild(this.ani); this.ani.play(); }   运行时报 TypeError:Cannot read property '_create' of null     at Animation._proto.timerLoop(file:///f:/......

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

3643. 关于2D粒子的渲染问题 [ 51%]

...teWebGL.as文件中,可以看到,在下边的方法   public override function addParticleArray(position:Float32Array, velocity:Float32Array):void {   中,把所有的参数放到一个数组中:        var particleData:ParticleData = ParticleData.Create(settings, position, velocity, _...

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

3644. laya.d3.webxr.core.WebXRInputManager_API3.0 [ 51%]

...Vec1 bindMeshNode bindRayNode getController Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static property

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

3645. laya.d3.core.particleshuriken.module.shape.BaseShape_API3.0 [ 51%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface

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

3646. 如何使用TS的命名空间(namespace)? [ 51%]

...用的namespace。   export namespace mvc{ const commandMap = {}; export function registerCommand(){ //doSomething }; export interface ICommand{ excute(type:string, params:any):void; } }   2019-09-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

3647. IDE创建3D示例项目(JavaScript-3D基础(JS)-快速开始一个LayaAir3D项目) [ 51%]

...terial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####

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

3648. 修复开放数据域组件WXOpenDataViewer鼠标不能拖动的问题 [ 51%]

...复 typescript   (<any>Laya.WXOpenDataViewer.prototype)._postMsg = function () {             var mat: Laya.Matrix = new Laya.Matrix();             //修改的地方,转换成全局坐标             var p: Laya.Point = this.localToGlobal(new Laya.Point())...

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

3649. 分包、多模块时的编译器BUG [ 51%]

...下,再执行一次编译,aa.js的内容就会变成如下内容: (function(window,document,Laya){     var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; })(window,document,Laya); 此时就算编译1万次,也不会正常...

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

3650. laya.d3.core.QuaternionKeyframe_API3.0 [ 51%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface

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