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

大约有 3,253 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0121 秒)

901. laya.d3.core.light.SpotLight [ 66%]

...Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on...

来源: laya_api 发布时间: 20170929

902. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 66%]

...aya/d3/core/GeometryElement.ts:20 autoRandomSeed autoRandomSeed: boolean = false Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:310 是否使用随机种子。 dragConstant dragConstant: number = 0 Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:242 开始速...

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

903. 灯光-点光 [ 65%]

...(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //点光源 var pointLight = scene.addChild(new Laya.PointLight()); pointLight.color = new Laya.Vector3(0.1189446, 0.5907708, 0.7352941); pointLight.transform.position = new Laya...

来源: Laya_示例 发布时间: 20260303

904. laya.ui.CheckBox_API3.0 [ 65%]

...heckBox.clickHandler = new laya.utils.Handler(this,this.onClick,[checkBox],false);//设置 checkBox 的点击事件处理器。 Laya.stage.addChild(checkBox);//将此 checkBox 对象添加到显示列表。 } function onClick(checkBox) { console.log("checkBox.selected = ",checkBox.selected); } examp...

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

905. 物理引擎,刚体施加力效果错误,有人帮忙看下吗 [ 65%]

... Vector3(0, 10, 0)); camera.transform.rotate(new Vector3(-30, 0, 0), true, false);   //添加地板 var floor:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createPlane(10, 2000, 100, 100))) as MeshSprite3D; //给地板添加物理组件 var floorCollicar:PhysicsCollider = floor.addCo...

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

906. 【简单跑酷--JS版】---Lv.3 添加地板 [ 65%]

...r.create(this, onLoaded), laya.utils.Handler.create(this, onLoading, null, false)); 首先同样我们到runGame目录新建一个Floor.js 开始编写代码 这里 我们想一下地板有哪些功能? 1、自身从右到左运动 超出左边边界 就移除存入对象池 2、地板上可以添...

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

907. laya.d3.core.glitter.Glitter [ 65%]

...Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on...

来源: laya_api 发布时间: 20170929

908. laya.ui.ProgressBar_API3.0 [ 65%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

909. laya.ui.HSlider_API3.0 [ 65%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

910. laya.ui.VSlider_API3.0 [ 65%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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