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

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

371. laya.resource.RenderTextureCube_API3.0 [ 65%]

...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/reso...

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

372. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 65%]

...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/reso...

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

373. laya.net.LoaderManager_API3.0 [ 65%]

... getRes getRes(url: string): any Defined in laya/net/LoaderManager.ts:410 获取指定资源地址的资源。 Parameters url: string 资源地址。 Returns any 返回资源。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDisp...

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

374. 如何捕获鼠标拖动物体时,不让鼠标滑出物体 [ 65%]

...请先登录 发起人 bepa_wang 相关问题 请问有没有方法能够获取“鼠标是否处于按下状态”? 缓动Tween能用在3D物体或者特效上面吗? btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 关于使用matterjs物理引擎...

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

375. laya.media.SoundNode [ 65%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...

来源: laya_api 发布时间: 20170422

376. laya.html.dom.HTMLDivElement [ 64%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

来源: Laya2.0_api 发布时间: 20190513

377. 瓦片地图获取对象问题 [ 64%]

瓦片地图获取对象问题 问题1:怎么获取对象层里面所有的对象 问题2 :一个对象层里面有 金币类型5个和障碍物类型5个,那我在代码层面怎么分别获取这两种类型中的5个对象 问题3:怎么获取具体某个对象层上面某个对象的自...

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

378. 多个button如何区分 [ 64%]

...for循环的i值去给name赋值,在鼠标点击事件触发的时候,获取e.target.name即可        或者        在for循环的过程中为你的btn添加鼠标事件,通过传参的方式,为每个btn传递一个标识,譬如btn001,btn002,尾部数组为for下的i值,...

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

379. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 64%]

...string Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:101 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/reso...

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

380. 如何判断鼠标滚轮一次连续滚动结束? [ 64%]

...请先登录 发起人 Wx122065323 相关问题 请问有没有方法能够获取“鼠标是否处于按下状态”? 关于使用matterjs物理引擎鼠标问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 如何判断横屏竖屏 请问如何...

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