大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0111 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 viewportPointToRay产生的射线始终有偏差,是为什么? LayaAirIDE1.7.17 版本,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的对像也统计进去了,网页...
来源: Laya_社区 发布时间: 20191219
...a.Texture(wxMgr.getOpenDataCanvas()); // rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 // console.log(rankTexture); // var img = wxMgr.getOpenDataCanvas().toDataURL("image/png"); // this.view.image_rank_list.source = img; // var canvas_2d_ctx = canvas.getContext...
来源: Laya_社区 发布时间: 20180426
... tsconfigOverride:{compilerOptions:{removeComments: true}} }), ``` 改为: typescript({ check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOver...
来源: Laya_社区 发布时间: 20191011
... GameConfig.physicsDebug = false; GameConfig.exportSceneToJson = true; GameConfig.init(); class Main { constructor() { //根据IDE设置初始化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig...
来源: Laya_社区 发布时间: 20201110
...种开发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); this.normalMapUrl = ["../../res/threeDimen/staticModel/lizardCal/rock_norm.png", "../../res/threeDimen/staticModel/lizardCal/lizard_norm.png", "../../res/threeDimen/staticMod...
来源: Laya_示例 发布时间: 20260303
...后我把HtmlDivElement文本的换行属性_html.style.wordWrap设置为true,发现这时候字符居中显示了。但是我这边有需求,不允许换行的,文本超过边界就超了,隐藏掉就好了,所以我这边的需求是文本要居中显示,但是不允许换行,感觉...
来源: Laya_社区 发布时间: 20190628
...转。 2.2.7 可见性Visialble 这是一个布尔型的值。勾选代表true,表示可见。不勾选代表false,表示不可见,此时如果精灵加载了图片,那么就不会显示到画布上了。 2.2.8 透明度Alpha 如果精灵加载了图片,透明度可以设置图片的透明...
来源: Laya3.0_文档 发布时间: 20251010
...取高度图属性。 MeshTerrainSprite3D destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事...
来源: laya_api 发布时间: 20170929
...s', '/Users/xxx/Desktop/chickenGame/chicken_game/laya/.laya', 'clear=true', 'releasemode=normal', 'exportUICode=true', 'exportRes=true' ] type: Darwin appPath: /usr/local/lib/node_modules/layaair-cmd/ProjectExportTools/ openProject: /Users/xxx/Desktop/chickenGame/chicken_game/laya/.la...
来源: Laya_社区 发布时间: 20190322
...s:310 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...
来源: Laya3.0_api 发布时间: 20231115