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

大约有 282 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0035 秒)

31. 天空网格(ActionScript-3D基础(AS3)-LayaAir3D之天空) [ 86%]

...`SkyDome` 球形网格。 在使用时只需要使用这个两个网格的`instance`属性就行。 > 使用盒型网格 ```typescript //初始化天空渲染器 var skyRenderer:SkyRenderer = scene.skyRenderer; //创建天空mesh skyRenderer.mesh = SkyBox.instance; ``` > 使用球形网格 ```typesc...

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

32. 节点类型有什么作用么 [ 86%]

...类型有什么作用么 每个节点的类型有三种,mask,render,instance mask遮罩时候用,render我在list里面用了。instance是什么时候用的呢。 还有这个render都什么时候可以用的呢 2018-08-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

33. laya接入fairyGUI的时候资源加载方式? [ 86%]

...:8510001 * 2019-11-25 */ export default class FguiResMgr { private static _instance: FguiResMgr; public static get instance(): FguiResMgr { if (!this._instance) this._instance = new FguiResMgr(); return this._instance; } /**加载优先级,越小越优先,最小为0 */ private priority: number =...

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

34. 颜色滤镜 差值变化 [ 85%]

...er = null; private targets: Array<Laya.Sprite> = null; public static instance: ColorTool = null; private targetsFilter: Laya.ColorFilter = null; private _persent: number = 0; protected constructor() { this.targets = new Array<Laya.Sprite>(); } /** * 实例 */ public static getInstance():...

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

35. Cannot read property 'load' of null [ 85%]

...null的情况?  代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=new MapManager(); this.s_instance.init(); ...

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

36. 获取相机renderTexture 作为阴影 的UV [ 84%]

...render.transform.worldMatrix, VPO);             ShaderManager.Instance.SetShadowLightMatrix(render, mat);             ShaderManager.Instance.SetShadowMapTexture(render, this.RenderTexture);//RenderTexture为阴影相机的renderTarget             ShaderManager....

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

37. 陀螺仪接口问题 [ 84%]

陀螺仪接口问题 Laya.Gyroscope.instance.off(Laya.Event.CHANGE,this,this.test) 调用off方法但是没有生效 还是一直在走on方法去监听陀螺仪旋转 2018-01-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

38. laya.events.MouseManager_API3.0 [ 84%]

...es disableMouseEvent mouseDownTime mouseMoveAccuracy mouseX mouseY enabled instance multiTouchEnabled Methods check3DUI handleCapture handleExclusiveCapture releaseCapture runEvent setCapture Properties disableMouseEvent disableMouseEvent: boolean = false Defined in laya/events/MouseManager.ts:34 ...

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

39. laya.device.motion.Gyroscope_API3.0 [ 83%]

...s "laya/device/motion/Gyroscope" Gyroscope Class Gyroscope 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):void absolute: 指示设备是否可以提...

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

40. cdn路径配置问题(已解决) [ 83%]

...ya21126 赞同来自:             URL.basePath = LoginServiceMagr.instance.loginServiceDataVO.cdndomain;             URL.rootPath = LoginServiceMagr.instance.loginServiceDataVO.cdndomain;  这个LoginServiceMagr.instance.loginServiceDataVO.cdndomain;就是你的cdn址址,设置...

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