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

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

1341. Config3D的介绍(ActionScript-3D基础(AS3)-快速开始一个LayaAir3D项目) [ 66%]

...,单位为M。 注意:内存必须大于16M ​ **Implementation** ​ public function set defaultPhysicsMemory( value : int ) : void ​ public function get defaultPhysicsMemory() : int ### 如何设置Config3D 首先创建好一个config3D,设置好需要的参数后,在Laya3D初始化时...

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

1342. laya.renders.VertexElementFormat_API3.0 [ 66%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/renders/VertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index...

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

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

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

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

1344. hitTestPrior点击穿透 [ 66%]

...rt laya.display.Sprite; import laya.events.Event; import laya.webgl.WebGL; public class PanelElastic { public function PanelElastic() { Laya.init(800,600,WebGL); Laya.stage.bgColor="#EEFFCC"; var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,300,300,"#FFFF00"); sp.size(100,100); sp.on(Event.CLICK...

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

1345. laya.d3.core.particleshuriken.module.shape.SphereShape_API3.0 [ 66%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/shape/SphereShape" SphereShape Class SphereShape SphereShape 类用于创建球形粒子形状。 Hierarchy Base...

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

1346. laya.d3.core.particleshuriken.module.shape.HemisphereShape_API3.0 [ 66%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/shape/HemisphereShape" HemisphereShape Class HemisphereShape HemisphereShape 类用于创建半球形粒子形...

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

1347. Morn下List组件如何给每一条列表添加Click事件,是需要for吗? [ 66%]

...iewUI; import morn.core.components.Box; import morn.core.handlers.Handler; public class ListView extends ListViewUI { public function ListView() { super(); var arr:Array=[]; for(var i:int=0;i<95;i++) { arr.push({icon:i,label:"Index"+i}); } boxList.array=arr; boxList.mouseHandler=new Handler(listR...

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

1348. Laya如何处理类与类之间的依赖关系 [ 66%]

...0, WARN = 600, ERROR = 800, FATAL = 1000, OFF = 0xFFFFFFFF }class Logger { public static logLevel: number = LogLevelEnum.ALL; // 获取或设置日志输出的分级 }编译运行会报错。 可行的办法是改成getter去懒初始化, 用三斜线指令(ts推荐的,但是貌似没用?)...

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

1349. timer无法执行 [ 65%]

...面 this.loadGround(); //加载墙面 this.loadwall(); this.loopShoot(); } public loopShoot(): void{ Laya.timer.loop(1000, this, this.shootBall); }   public shootBall(): void{ //生成空中降落的球 //var random: number = Math.random()*24-7; let ball: Laya.MeshSprite3D = new Laya.MeshSprite3D(L...

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

1350. laya.d3.core.particleshuriken.module.TextureSheetAnimation_API3.0 [ 65%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/TextureSheetAnimation" TextureSheetAnimation Class TextureSheetAnimation TextureSheetAnimation 类用于创建...

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