大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0057 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...,单位为M。 注意:内存必须大于16M **Implementation** public function set defaultPhysicsMemory( value : int ) : void public function get defaultPhysicsMemory() : int ### 如何设置Config3D 首先创建好一个config3D,设置好需要的参数后,在Laya3D初始化时...
来源: Laya2.0_文档 发布时间: 20210714
...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
...。 ShaderCompile3D /**是否开启调试模式。 */ public static var debugMode:Boolean = false; 设置为true, /** * 通过宏定义预编译shader。 * @param spriteIntToNameDic 精灵宏定义数组。 ...
来源: Laya_社区 发布时间: 20180620
...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
...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
...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
...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
...0, WARN = 600, ERROR = 800, FATAL = 1000, OFF = 0xFFFFFFFF }class Logger { public static logLevel: number = LogLevelEnum.ALL; // 获取或设置日志输出的分级 }编译运行会报错。 可行的办法是改成getter去懒初始化, 用三斜线指令(ts推荐的,但是貌似没用?)...
来源: Laya_社区 发布时间: 20171107
...面 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
...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