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

大约有 3 项符合查询结果, 库内数据总量为 14,848 项。 (搜索耗时: 0.0041 秒)

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

...rt 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.propertyNameToID("u_Mai...

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

2. 如何使用vscode编译laya项目 [ 58%]

...({ output: { }, numWorkers:1,//Amount of workers to spawn. Defaults to the number of CPUs minus 1 sourcemap: false })*/ ] }).then(bundle => { return bundle.write({ file: workSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) ...

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

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

...1.780 338 701 E C02d10/ExtractRule: GetJsonArray: failed to get json array number startSeg. 01-06 17:34:41.780 338 701 E C02d10/ExtractRule: GetJsonArray: failed to get json array number segStack. 01-06 17:34:41.780 338 701 I C02d10/ExtractRule: ParseRule: ParseFile eventId JS_ERROR, FeatureId 07_JS...

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