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

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

571. 我想动态改自定义shader里的值,应该怎么写?? [ 53%]

...al.__super.call(this);     this.setShaderName("CustomShader"); }   Laya.class(CustomMaterial, "CustomMaterial", Laya.BaseMaterial);   CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.NORMALTEXTURE = 2; CustomMaterial.ALPHATESTVALUE = 0;   CustomMaterial.prototype.getDiffuseTexture = function (...

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

572. laya.physics.joint.JointBase_API3.0 [ 53%]

...ernals Only exported Menu Globals "laya/physics/joint/JointBase" JointBase Class JointBase 关节基类 Hierarchy Component JointBase DistanceJoint GearJoint MotorJoint MouseJoint PrismaticJoint PulleyJoint RevoluteJoint WeldJoint WheelJoint Index Constructors constructor Properties _extra _singleto...

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

573. LayaNative 原生发布 APK Oppo R15 奔溃 其他正常 [ 53%]

...activity ComponentInfo{com.angelport.apptest/demo.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "demo.MainActivity" on path: DexPathList[[zip file "/data/app/com.angelport.apptest-Lo_yTvpJWT9iznFcVx-p0w==/base.apk"],nativeLibraryDirectories=[/data/app/com.angelport.apptest-Lo_yT...

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

574. laya.d3.renderobjs.nativeobj.NativeInstanceRenderElementOBJ_API3.0 [ 53%]

...s/NativeOBJ/NativeInstanceRenderElementOBJ" NativeInstanceRenderElementOBJ Class NativeInstanceRenderElementOBJ Hierarchy NativeRenderElementOBJ NativeInstanceRenderElementOBJ Implements IRenderElement Index Constructors constructor Properties _nativeObj _owner _shaderInstances Accessors _geometry _...

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

575. laya.d3.core.MeshFilter_API3.0 [ 53%]

... Externals Only exported Menu Globals "laya/d3/core/MeshFilter" MeshFilter Class MeshFilter MeshFilter 类用于创建网格过滤器。 Hierarchy Component MeshFilter Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlag...

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

576. laya.d3.component.LODGroup_API3.0 [ 53%]

...Externals Only exported Menu Globals "laya/d3/component/LODGroup" LODGroup Class LODGroup SpotLight 类用于构建LOD组件 Hierarchy Component LODGroup Implements IBoundsCell Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked bounds destroyed ...

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

577. 按钮失效,同UI里的一个图片超链接点击后再返回,出现按钮失效。 [ 53%]

...od stub Laya.Browser.window.location.href=data; }   } //绑定父类 Laya.class(StartResource,"StartResource",StarUI);  主界面 红色是dalog 绿色是超链接按钮     点击超链接按钮。 并点击 chrome左上角的返回键。   回到主界面, 点击dalog,dalog失效     --...

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

578. [LayaAirIDE3]3.2.7 在抖音小游戏开启了严格模式(ES6),Android性能明显下降了 [ 53%]

...在ES6为true的情况下保持 Android 高性能,要用对 ES6(利用 class、let/const、箭头函数、Map/Set 等能触发优化的特性),避免 async/await、解构、展开运算符等在低端机解释执行很重的语法,同时减少对象分配和 GC 压力。   2025-09-03 0 1 ...

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

579. playSound和playMusic结束时候有异常抛出 [ 53%]

...是否需要关注? Demo代码(已测试有效):  // 程序入口 class GameMain {     constructor()     {         Laya.init(640,1100, Laya.WebGL);         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage....

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

580. laya.d3.utils.Physics3DUtils_API3.0 [ 52%]

...s Only exported Menu Globals "laya/d3/utils/Physics3DUtils" Physics3DUtils Class Physics3DUtils Physics 类用于简单物理检测。 Hierarchy Physics3DUtils Index Constructors constructor Properties COLLISIONFILTERGROUP_ALLFILTER COLLISIONFILTERGROUP_CHARACTERFILTER COLLISIONFILTERGROUP_CUSTOMFIL...

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