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

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

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

... --mode module -p module=entry@default -p product=default -p requiredDeviceType=default assembleHap --analyze=normal --parallel --incremental --daemon > hvigor UP-TO-DATE :entry:default@PreBuild... > hvigor UP-TO-DATE :libSysCapabilities:default@PreBuild... > hvigor Finished :entry:default@...

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

2802. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 39%]

...)byteOffset: (...)length: (...)Symbol(Symbol.toStringTag): (...)__proto__: TypedArray__proto__: Object bom.transform.localRotation=new Laya.Quaternion(0, 0,0,0);           //设置了localRotation Quaternion {elements: Float32Array[4]} bom.transform.worldMatrix                       ...

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

2803. Laya.MiniAdpter.downLoadFile缓存的文件无法读取的问题 [ 39%]

...any):void { console.log("OnDownloadCb"); if (result != null) { console.log(typeof(result)); // console.log(result); } else { console.log("result is none"); } } 然后在调试中发现了两个问题: 1、在MiniFileMgr.readFile函数中: MiniFileMgr.readFile=function(filePath,encoding,callBack,...

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

2804. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 39%]

...写位图字体加载和使用的代码。 完整代码如下所示: ```typescript import { ui } from "./ui/layaMaxUI"; //继承BitmapFont的ui场景类 export default class AllText extends ui.examples.text.BitmapFontUI { //给自己注册的字体起个名 private fontName: string = "diyFont"; co...

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

2805. 内存优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 39%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Pool),用于对象的存贮、重复使用。比较常用的是`对象池创建`方法`getItemByClass()`与`回收到对象池`方法`recover()`。 如图1-1、图1-2所示。 ![图...

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

2806. 写了个边缘光的自定义shader,有很多问题,帮忙看一下 [ 39%]

...Laya.BaseMaterial); CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.prototype.getDiffuseTexture = function () { return this._getTexture(CustomMaterial.DIFFUSETEXTURE); } CustomMaterial.prototype.setDiffuseTexture = function (value) { this._setTexture(CustomMaterial.DIFFUSETEXTURE,value); }     ...

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

2807. 创建TS项目并详解目录结构(TypeScript-LayaAir基础篇(TS)-快速上手) [ 39%]

...载。 LayaAirIDE2.0 下载地址:https://ldc2.layabox.com/layadownload/?type=layaairide ## 二、用LayaAirIDE创建TS项目 首次打开LayaAir IDE,可以创建一个示例项目,IDE在创建时会自动生成结构清晰的目录结构,我们将在这介绍 LayaAir IDE创建项目的流...

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

2808. laya.d3.core.SkinnedMeshRenderer_API3.0 [ 39%]

...etRenderbitFlag changeVertexDefine shaderValueInit Legend Class Class with type parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface

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

2809. laya.d3.component.staticmesh.StaticBatchMeshRender_API3.0 [ 39%]

...__init__ changeVertexDefine create shaderValueInit Legend Class Class with type parameter Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface Static method

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

2810. Animation属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 39%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Animation) ## 2、通过LayaAirIDE创建Animation 组件 ### 2.1 创建Animation Animation不是常用的UI组件,也不是容器组件。所以在创建Animation组件的时候...

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