大约有 450 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
Laya3.0_api(223) Laya_社区(109) Laya3.0_文档(41) Laya2.0_文档(28) Laya2.0_api(25) laya_api(22) Laya_示例(1) Laya2.0_示例(1)
...ationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBase.WRAP_PINGPONG为pingpong播放(当按指定顺序播放完结尾后,如果继续播发,则会改...
来源: Laya3.0_api 发布时间: 20231115
...ationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBase.WRAP_PINGPONG为pingpong播放(当按指定顺序播放完结尾后,如果继续播发,则会改...
来源: Laya3.0_api 发布时间: 20231115
...d:url(b1.png) no-repeat center;cursor:pointer;"; file.type ="file";//设置类型是file类型。 file.size ="30"; file.accept="image/png/jpg";//设置文件的格式为png; file.style.position ="absolute"; // file.style.zIndex = 999; Laya.Browser.document.body.appendChild(file);//添加到页面...
来源: Laya_社区 发布时间: 20190129
...aAir3]3d物理onTriggerEnter中的other参数不是PhysicsColliderComponent类型 版本3.1.1, 物理引擎为bullet, 在取collisionGroup时发现为undefined, 断点发现other类型为laya.bullet.js中的类, 并不是或继承自PhysicsColliderComponent,看了一下onCollisionEnter参数collsi...
来源: Laya_社区 发布时间: 20240307
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:925 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231102
...Role(); // 初始化角色 this.hero.init("hero",0,1,0,30); // 设置射击类型 this.hero.shootType = 1; // 设置主角的位置 this.hero.pos(200,500); // 放置到舞台上 Laya.stage.addChild(this.hero); // 监听舞台的鼠标移动事件 Laya.stage.on(Laya.Event.MOUSE_MOVE,this,onMouseMove)...
来源: Laya_社区 发布时间: 20170525
...nListener Class DestructionListener JS实现Box2D SayGoodbyeParticle 相关类型对象被隐性移除时触发对应的SayGoodBye方法 Hierarchy DestructionListener Index Methods SayGoodbyeFixture SayGoodbyeJoint SayGoodbyeParticle SayGoodbyeParticleGroup Methods SayGoodbyeFixture SayGoodbyeFixtur...
来源: Laya3.0_api 发布时间: 20231115
...events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个参数 p ,且 p 是一个数组,则需...
来源: Laya3.0_api 发布时间: 20231115
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:925 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231102