大约有 415 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0056 秒)
...模型与地板模型并且分别设置产生阴影与接受阴影 //地面接收阴影 var grid:Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")) as Sprite3D; //设置地板可以接受阴影 (grid.getChildAt(0) as MeshSprite3D).meshRenderer.receiveShadow = true; ...
来源: Laya2.0_文档 发布时间: 20210715
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...模型与地板模型并且分别设置产生阴影与接受阴影 //地面接收阴影 var grid = this.scene.addChild(Laya.Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")) as Laya.Sprite3D; //设置地板可以接受阴影 (grid.getChildAt(0) as Laya.MeshSprite3D).meshRenderer.receiveShad...
来源: Laya2.0_文档 发布时间: 20210715
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231102
...oid { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最后我们来运行动画,看看运行结果: (图9-4) Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间: 2023-05-19 17:38:15 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20230519
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...ll):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake(...
来源: Laya2.0_api 发布时间: 20190513
...ll):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake(...
来源: Laya2.0_api 发布时间: 20190513