大约有 1,444 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0064 秒)
Laya3.0_api(470) Laya_社区(444) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(59) laya_api(58)
... static physicsDebug:boolean=false; static exportSceneToJson:boolean=true; constructor(){} static init(){ var reg: Function = Laya.ClassUtils.regClass; reg("script/GameUI.ts",GameUI); reg("script/GameControl.ts",GameControl); reg("script/Bullet.ts",Bullet); reg("script/DropBox.ts",DropBox); } } Game...
来源: Laya_社区 发布时间: 20181001
...效。let partPath = "res/particles/GravityMode.part"; class Particle_T1 { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Loader = Laya.Loader, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.sta...
来源: Laya2.0_示例 发布时间: 20241119
...效。let partPath = "res/particles/RadiusMode.part"; class Particle_T2 { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Loader = Laya.Loader, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stag...
来源: Laya2.0_示例 发布时间: 20241119
...效。let partPath = "res/particles/particleNew.part"; class Particle_T3 { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Loader = Laya.Loader, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.sta...
来源: Laya2.0_示例 发布时间: 20241119
...有子显示对象。 Hierarchy EventDispatcher Node Sprite Sprite3D Index Constructors constructor Properties _extra _scene _url name tag Accessors active activeInHierarchy components destroyed displayedInStage hideFlags is3D numChildren parent scene timer url Methods _initialize _processActive add...
来源: Laya3.0_api 发布时间: 20231115
...ent 对象将作为参数传递给事件侦听器。 Hierarchy Event Index Constructors constructor Properties button currentTarget delta isDblClick nativeEvent target touchId touchPos type ADDED BLUR CHANGE CHANGED CLICK CLOSE COLLISION_ENTER COLLISION_EXIT COLLISION_STAY COMPLETE DEVICE_LOST DISPL...
来源: Laya3.0_api 发布时间: 20231115
...建刚体碰撞器。 Hierarchy PhysicsTriggerComponent Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath userData TYPE_DYNAMIC TYPE_KINEMATIC TYPE_STATIC Accessors angularDamping angularFactor angularVelocity awaked btColliderObject c...
来源: Laya3.0_api 发布时间: 20231115
...三种开发语言、LayaAirIDE让项目开发更高效。class UI_Label { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage....
来源: Laya2.0_示例 发布时间: 20241119
...ture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties _id _isLoaded _needUpdate destroyedImmediately element lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel buffered compareMode cpuMemory currentSrc currentTime defaultTexture des...
来源: Laya3.0_api 发布时间: 20231115
...source { import List = laya.ui.List; export class ListDataSourceMediator { constructor() { } public setUp():void { var list: List = new List(); // 渲染的item list.itemRender = ListDataSourceItem; // 设置行列显示的item个数 list.repeatX = 1; list.repeatY = 4; // list居中显示 list.x = (...
来源: Laya_社区 发布时间: 20180410