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

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

731. laya.resource.TextureCube_API3.0 [ 56%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/TextureCube" TextureCube Class TextureCube TextureCube 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constr...

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

732. laya.d3.resource.RenderTexture_API3.0 [ 56%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/RenderTexture" RenderTexture Class RenderTexture Hierarchy BaseTexture RenderTexture RenderTextureCube WebXRRenderTexture MulSampleR...

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

733. 3D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

...() export class Script extends Laya.Script { //共享材质,用于合批 public batchMat: Laya.Material; //颜色数目 private _colorNums = 20; //精灵数目 private _spriteNums = 200; private _createColorBufferData() { //随机给20个颜色值 let colorBuffer = new Float32Array(20 * 4); for (v...

来源: Laya3.0_文档 发布时间: 20251010

734. iPhone6 ios 8.3系统 最新的QQ 锁屏再解锁 游戏闪退 [ 56%]

... { _isVisibility = true; } _this.event(Event.VISIBILITY_CHANGE); });     public static var isStopLoop:Boolean = false; /**@private */ public function _loop():Boolean { if(!isStopLoop) { render(Render.context, 0, 0); } return true; }   2017-10-11 0 1 分享 微博 QZONE 微信 为什么被折叠? ...

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

735. laya.resource.Texture_API3.0 [ 56%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties...

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

736. 请问粒子,shader,动画缓存的优化应该如何选择 [ 56%]

...。 ShaderCompile3D   /**是否开启调试模式。 */         public static var debugMode:Boolean = false; 设置为true,           /**          * 通过宏定义预编译shader。          * @param   spriteIntToNameDic 精灵宏定义数组。        ...

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

737. laya.resource.PrefabImpl_API3.0 [ 56%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/PrefabImpl" PrefabImpl Class PrefabImpl 预制体导入 Hierarchy Prefab PrefabImpl Index Constructors constructor Properties _id api d...

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

738. laya.gltf.glTFResource_API3.0 [ 56%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/gltf/glTFResource" glTFResource Class glTFResource Hierarchy Prefab glTFResource Index Constructors constructor Properties destoryedImmediately ...

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

739. Laya的安卓二次开发主动调用js层,无法实现传回数据给js层 [ 56%]

...无法返回数据给Laya层。 方式1:m_Handler.post( new Runnable() { public void run() { //ui thread update ui JSONObject obj = new JSONObject(); try { obj.put("value", "Hello Laya!"); } catch(JSONException e) { e.printStackTrace(); } Log.d("Laya", "======准备返回参数 :"+obj.toString()...

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

740. 场景管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

...ort class NewScript extends Laya.Script { @property({ type: Laya.Button }) public uiBtn: Laya.Button; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Event.CLICK, this, () =&g...

来源: Laya3.0_文档 发布时间: 20251010