大约有 348 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
Laya_社区(234) Laya3.0_文档(37) laya_api(28) Laya2.0_文档(22) Laya3.0_api(17) Laya2.0_api(6) Laya2.0_示例(2) Laya_示例(2)
...预加载 {url: "res/heightMap.png", clas:Texture2D, priority:1, params:[true]} 4,高度图的使用 5,最后记得把该模型隐藏掉 meshSprite3D.active = false; 158*****155 • 2017-05-02 20:52 @183*****755:生成png图片后,程序中怎么根据这张图片去获取高度
来源: Laya_社区 发布时间: 20170330
...P、Event.CLICK</code> 事件侦听处理函数。 * @param e Event 对象。 */ protected function onMouse(e:Event):void { if (toggle === false && _selected) return; if (e.type === Event.CLICK) { ...
来源: Laya_社区 发布时间: 20170926
...子材质。 ShurikenParticleMaterial onAsynLoaded(url:String, data:*, params:Array):void[override] private ShurikenParticleMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods Method...
来源: laya_api 发布时间: 20170929
...接 提交 2 个回复 谢春 赞同来自: /** * 绘制开放域数据 * @param {*} layout 用来显示开放域数据的Sprite */ function drawOpenData(layout: Laya.Sprite) { clearDrawOpenData(layout); var sp: Laya.Sprite = new Laya.Sprite(); sp.width = layout.width; sp.height = layout.height; var...
来源: Laya_社区 发布时间: 20190328
...时会报undefined错误 /** * @internal * 清掉播放完成的音频 * @param force 是否强制删掉所有的声音channel */ private _onAniSoundStoped(force: boolean): void { for (let len = this._soundChannelArr.length, i = 0; i < len; i++) { let channel = this._soundChannelArr[i]; if (chann...
来源: Laya_社区 发布时间: 20230727
...callMethod:jsObjId className:@"platform.PlatformAPI" methodName:methodName param:strValue], 运行时候报 reflection error : can not find class [platform.PlatformAPI]. 不知道原因。 className试了"PlatformAPI",也不可以 同时没有发现文档说明Android如何调动。谢谢 20...
来源: Laya_社区 发布时间: 20161202
...除子对象及从父节点移除自己。</p> * @param destroyChild (可选)是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 看截图无法确定这个this 是什么 remove 也会连子节点一起remove ,cocos 是...
来源: Laya_社区 发布时间: 20181121
...vent.MOUSE_UP, this, this.onMouseUp); }; /** * 鼠标事件响应函数 * @param evt */ GameMain.prototype.onMouseUp = function (evt) { if (this.isDestroyed) { //通过设置 visible=true ,来触发渲染,然后引擎会自动恢复资源 this.spBg.visible = true; this.aniFly.visible = true; thi...
来源: Laya_示例 发布时间: 20260303
...Command(){ //doSomething }; export interface ICommand{ excute(type:string, params:any):void; } } 2019-09-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 186*****180 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题...
来源: Laya_社区 发布时间: 20180918
... * 通过播放名字获取动画片段。 * @param playName 播放名字。 * @return 动画片段。 */ public function getClip(playName:String):AnimationClip { var index:int = _clipNames.indexOf(pl...
来源: Laya_社区 发布时间: 20180425