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

大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0070 秒)

621. 两个小问题 [ 75%]

...destroy(false),新面板打开时会报错 cannot read property 'xxx' of null。请问 this.removeSelf() 是否能将面板相关的资源占用完全清除,或有什么更好的方法?请指教! 2、在主文件中引入类文件 和 在具体文件中需要时再引入特定文件,两者...

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

622. [LayaAir3]打包安卓渲染模式使用OpenGL会报glUtilsParamSize的错误 [ 75%]

....我看输出的错误就是 warn convert_value_object_from_js paramter is null or undefined 2025-11-22 15:32:35.491  3570-3596  eglCodecCommon          com.layabox.game                     E  glUtilsParamSize: unknow param 0x000084ff 2025-11-22 15:32:35.492  3570-3596  eglCodec...

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

623. laya.utils.Pool_API3.0 [ 75%]

...型的一个对象,如果对象池中无此类型的对象,则返回 null 。 Parameters sign: string 对象类型标识字符。 Returns any 对象池中此类型的一个对象,如果对象池中无此类型的对象,则返回 null 。 Static getItemByClass getItemByClass<T>(sign: st...

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

624. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 75%]

...t); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //camera.clearColor =null; //天空盒 var skyBox = new Laya.SkyBox(); camera.sky = skyBox; skyBox.textureCube = Laya.TextureCube.load("res/skyBox1/skyCube.ltc"); //=======运行结果,加载就报错 libs/laya.d3.js:14313 Uncaught TypeError: C...

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

625. 场景环境反射(ActionScript-3D基础(AS3)-LayaAir3D之场景渲染配置) [ 75%]

...Material.load("res/threeDimen/skyBox/DawnDusk/SkyBox.lmat", Handler.create(null, function(mat:SkyBoxMaterial):void { //获取相机的天空盒渲染体 var skyRenderer:SkyRenderer = camera.skyRenderer; //设置天空盒mesh skyRenderer.mesh = SkyBox.instance; //设置天空盒材质 skyRenderer.mat...

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

626. laya.utils.FontInfo_API3.0 [ 75%]

...Methods setFont parse Constructors constructor new FontInfo(font: string | null): FontInfo Defined in laya/utils/FontInfo.ts:31 Parameters font: string | null Returns FontInfo Methods setFont setFont(value: string): void Defined in laya/utils/FontInfo.ts:41 设置字体格式 Parameters value: strin...

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

627. 关于timeline的问题 [ 75%]

...Laya.TimeLine = new Laya.TimeLine(); timeline.to(sp, {x:500, y:500}, 3000, null, 0) .to(sp, {x:0, y:0}, 3000, null, 0); timeline.play(0, false); 2017-09-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - ...

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

628. laya.display.Scene_API3.0 [ 75%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...

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

629. LayaNative2.2运行报错。:getBitmapData Cannot find the specified character in all fonts:263c [ 75%]

...nager: Starting input: tba=android.view.inputmethod.EditorInfo@42186238 ic=null     START INPUT: android.widget.AbsoluteLayout{41ddd1e8 VFE..... .F...... 0,0-1280,670} ic=null tba=android.view.inputmethod.EditorInfo@42186238 controlFlags=#100 V/InputMethodManager: Starting input: Bind result=Input...

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

630. laya.filters.ColorFilter [ 75%]

...static] FilterPublic Methods  MethodDefined By  ColorFilter(mat:Array = null) 创建一个 ColorFilter 实例。 ColorFilter  adjustBrightness(brightness:Number):ColorFilter 调整亮度 ColorFilter  adjustColor(brightness:Number, contrast:Number, saturation:Number, hue:Number):ColorFilter ...

来源: Laya2.0_api 发布时间: 20190513