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

大约有 1,191 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)

1051. 【Native BUG】Native下对根结点设置filter,无法更新到每个子节点,web是ok的 [ 51%]

...设置color才能生效。   public static setGray(node: Laya.Node, set: boolean) {             for (var i = 0; i < node.numChildren; i++) {                 let sprite = node.getChildAt(i) as Laya.Sprite;                 if (sprite) {                     //if (spr...

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

1052. laya.display.cmd.DrawRoundRectCmd_API3.0 [ 51%]

...d in laya/display/cmd/DrawRoundRectCmd.ts:27 左上圆角 percent percent: boolean Defined in laya/display/cmd/DrawRoundRectCmd.ts:56 位置和大小是否是百分比 rb rb: number Defined in laya/display/cmd/DrawRoundRectCmd.ts:39 右下圆角 rt rt: number Defined in laya/display/cmd/DrawRoundRec...

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

1053. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 51%]

...s.lb_password, this.lb_repassword]; /** 验证标记 */ private _arrCheck: boolean = [false, false, false, false]; private init() { // 设置背景色为场景高度 this.box_color_bg.height = Laya.stage.height; } onEnable() { this.init(); // 判定是注册还是忘记密码 if (GameData.I.isReg) {...

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

1054. laya.d3.core.particleshuriken.module.GradientAngularVelocity_API3.0 [ 51%]

...角速度Z。 Returns GradientDataNumber separateAxes get separateAxes(): boolean Defined in laya/d3/core/particleShuriKen/module/GradientAngularVelocity.ts:174 是否分轴。 Returns boolean type get type(): number Defined in laya/d3/core/particleShuriKen/module/GradientAngularVelocity.ts:167 生...

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

1055. laya.map.TileTexSet_API3.0 [ 51%]

...Defined in laya/map/TileTexSet.ts:17 唯一标识 isAnimation isAnimation: boolean = false Defined in laya/map/TileTexSet.ts:33 true表示当前纹理,是一组动画,false表示当前只有一个纹理 offX offX: number = 0 Defined in laya/map/TileTexSet.ts:21 纹理显示时的坐标偏移X of...

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

1056. [LayaAir3]laya3.3正式版废弃了_cacheStyle,fgui还有用到他咋办 [ 51%]

...的fairygui运行库,改成了         public get internalVisible(): boolean {             return this._internalVisible && (!this._group || this._group.internalVisible)                 && !((<any>this._displayObject)._cacheStyle?.maskParent); //3.3开始mask...

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

1057. 版本管理swf找同名的Json文件发现找不到 [ 51%]

...始化预加载数据         public m_initData(url:string,atlas:boolean,atlasPath?:string){             (atlas===void 0)&& (atlas=false);             this['_url']=url=Laya.URL.formatURL(url);             if(atlas)this['_atlasPath']=atlasPath?atlas...

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

1058. 在写屏蔽词库的程序时,字符串中没有屏蔽字库中的词,会出现返回0的情况 [ 51%]

...错了 176*****233 • 2017-08-28 11:51 private get IndexOfShieldName(): Boolean { if (this.shieldArray.indexOf(this.roleName) != -1) { var index:number=this.shieldArray.indexOf(this.roleName); console.log("找到了,位置在"+index); return true; } console.log("没找到"); ret...

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

1059. laya.d3.core.material.SkyBoxMaterial [ 51%]

...operties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial  exposure : Number 获取曝光强度。 SkyBoxMaterial renderQueue : int 所属渲染队列.BaseM...

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

1060. 怎么清理掉 Sprite3D 相关的缓存资源, 资源destroy后内存还下降、。 [ 51%]

...理方法            override public function destroy(destroyChild:Boolean = true):void {             if(effect3D != null){                 effect3D.destroy();                 effect3D = null;             }             super.destroy(true); ...

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