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

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

1. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 100%]

...必保持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 var allLights = []; allL...

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

2. String转XMLDom的问题 [ 89%]

String转XMLDom的问题 public static function stringToXMLDom(value:String):XmlDom { var xml:XmlDom; /*[IF-SCRIPT-BEGIN] if(document.all) {   xml=new ActiveXObject("Microsoft.XMLDOM");   xml.loadXML(value); } else { xml = new DOMParser().parseFromString(value, "text/xml"); } [IF-SCRIPT-END...

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

3. 苹果审核发现使用了私有API [ 89%]

...架。 被拒的内容是: Your app uses or references the following non-public APIs: - PrivateFrameworks/BackBoardServices.framework The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change. Continuing to use or conceal no...

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

4. 继承自Laya.BaseMaterial并且自定义Shader的的自定义材质如何设置透明渲染 [ 86%]

...做才能实现。 export default class CMat extends Laya.BaseMaterial { public static _mainTex : number; public static _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameToID("u_MainTex"); CMat._mainCol = Laya.Shader3D....

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

5. socket大型项目回调 [ 84%]

...YPE_DATA] = this.onData; this.handlers[Package.TYPE_KICK] = this.onKick; } public init(params,cb:Function):void{ console.log("init",params); this.initCallback = cb; var host = params.host; var port = params.port; var uid = params.session_id; var user_name = params.user_name; // //var url = 'ws://' +...

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

6. LayaAir中字符串转xml [ 83%]

...017-02-15 18:33 浏览: 1254 关注: 2 人 yurong3000 • 2017-02-21 10:55 public static function stringToXMLDom(value:String):XmlDom { var xml:XmlDom; /*[IF-SCRIPT-BEGIN] if(document.all) {   xml=new ActiveXObject("Microsoft.XMLDOM");   xml.loadXML(value); } else { xml = new DOMPa...

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

7. 重要问题:关于苹果审核被拒 [ 79%]

...决?   以下为原文: Your app uses or references the following non-public APIs: PrivateFrameworks/BackBoardServices.framework (_SimulateCrash) The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.  Continuing ...

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

8. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 37%]

...APPSPAWN: [sandbox_utils.cpp:163]errno is: 2, bind mount /data/service/el1/public/themes/100/a/app to /mnt/sandbox/100/com.layabox.game/data/themes/a/app 01-06 17:34:41.549 23051 23051 I C02c11/APPSPAWN: [sandbox_utils.cpp:163]errno is: 2, bind mount /data/service/el1/public/themes/100/b/app to /mnt...

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

9. 构建apk后,java报错 [ 20%]

... pkg=com.layabox.dotJourney isa=arm64 dexoptFlags=boot_complete,debuggable,public target-filter=quicken oatDir=/data/app/com.layabox.dotJourney-Jidn-sdT4XxjBURfWPBYyA==/oat sharedLibraries=PCL[] 2018-11-26 18:35:09.365 1505-1523/? D/CompatibilityInfo: mCompatibilityFlags - 14 2018-11-26 18:35:09.366...

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