大约有 819 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(403) Laya3.0_api(148) Laya2.0_api(95) laya_api(79) Laya2.0_文档(71) Laya3.0_文档(22) Laya_示例(1)
...json文件。。竟然无法自动生成了? 请问有没有方法能够获取“鼠标是否处于按下状态”? 加载到舞台的3D模型不显示贴图 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ unity中的模型导...
来源: Laya_社区 发布时间: 20180127
...因的吗?~~~~~~~~~~~~~ Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 2.1.1.1引擎微信小游戏掉帧严重 unity中的模型导出后在laya中显示不正常 [引擎优化]希望官方可以增加stencil功能 3d场景单材质单模型CurMem300多 matter 物理引擎 问题...
来源: Laya_社区 发布时间: 20220118
...);//清除所有数据归零。 ``` - **getSystemEndian()**:string[static] 获取系统的字节存储顺序。 ```typescript console.log(Laya.Byte.getSystemEndian());//打印系统的字节顺序 ``` - ### 属性 - **BIG_ENDIAN** : string= bigEndian[static] 表示多字节数字的最高有效字...
来源: Laya2.0_文档 发布时间: 20210714
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...影机视口 ```typescript Laya.timer.once(3000,this,function ():void { //获取第一个摄影的视口 var viewport1:Laya.Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var viewport2:Laya.Viewport = camer...
来源: Laya2.0_文档 发布时间: 20210715
...-1 将准备好的图片放置项目资源目录下,并预加载资源,获取texture 准备好的图片head3.png 放置资源目录下 获取texture Laya.loader.load('head3.png',Handler.create(this,onTextureLoaded)); } private var texture:Texture; private function onTextureLoaded():void { textur...
来源: Laya_社区 发布时间: 20170324
... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...
来源: Laya2.0_文档 发布时间: 20210714
...w Inherited Public Properties PropertyDefined By albedoColor : Vector4 获取反照率颜色。 BlinnPhongMaterial albedoColorA : Number 获取反照率颜色Z分量。 BlinnPhongMaterial albedoColorB : Number 获取反照率颜色B分量。 BlinnPhongMaterial albedoColorG : Number 获...
来源: Laya2.0_api 发布时间: 20190513
...残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统...
来源: Laya2.0_文档 发布时间: 20210715
...);//清除所有数据归零。 ``` - **getSystemEndian()**:String[static] 获取系统的字节存储顺序。 ```typescript trace(Byte.getSystemEndian());//打印系统的字节顺序 ``` - ### 属性 - **BIG_ENDIAN** : String= bigEndian[static] 表示多字节数字的最高有效字节位于字...
来源: Laya2.0_文档 发布时间: 20210715