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

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

291. drawMeshInstance渲染指令的使用说明(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 62%]

...染指令drawMeshInstance后,开发者可以用来渲染自定义instance属性,进行instance渲染。这种渲染相比普通的渲染**会较大的提高渲染性能。** 例如官网示例中的CommandBuffer_DrawCustomInstance就是自定义instance的优化示例,示例中自定义了小...

来源: Laya2.0_文档 发布时间: 20210714

292. laya.ui.OpenDataContextView_API3.0 [ 62%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

293. laya.media.VideoTexture_API3.0 [ 62%]

...red get buffered(): any Defined in laya/media/VideoTexture.ts:263 buffered 属性返回 TimeRanges(JS)对象。TimeRanges 对象表示用户的音视频缓冲范围。缓冲范围指的是已缓冲音视频的时间范围。如果用户在音视频中跳跃播放,会得到多个缓冲范围。 buf...

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

294. 碰撞器过滤(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 62%]

...2.1.1 Update:2019-7-19* 碰撞器过滤是刚体与物理碰撞器都有的属性。在实际开发过程中不可能所有的物体都要和任何其他物体参与碰撞,比如主角自己发射的子弹和自己就不允许碰撞,又或者自己子弹对于队友也没有伤害。这就需要...

来源: Laya2.0_文档 发布时间: 20210715

295. laya.ui.LayoutBox_API3.0 [ 62%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

296. laya.ui.TipManager_API3.0 [ 62%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

297. laya.ui.ColorPicker_API3.0 [ 62%]

...colorPicket 的皮肤。 colorPicket.x = 100;//设置 colorPicket 对象的属性 x 的值,用于控制 colorPicket 对象的显示位置。 colorPicket.y = 100;//设置 colorPicket 对象的属性 y 的值,用于控制 colorPicket 对象的显示位置。 colorPicket.changeHandler = new Handler...

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

298. 编辑模式下定义的变量如何在代码模式下获取啊 [ 62%]

...dByName('scene'); // 直接父对象里就包含了一个和你定义的var属性同名的属性(指针)了 let buttonStart = scene.buttonStart; // 当然你也可以通过name去找,指针指向的都是同一个对象 let buttonStart_getByName = scene.getChildByName('buttonStart'); // 输...

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

299. laya.media.SoundNode [ 62%]

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

来源: laya_api 发布时间: 20170422

300. laya.d3.core.glitter.Glitter [ 62%]

...。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoaded(url:String, data:*, params:Array):void private Sprite3D once(type:String, caller:*, liste...

来源: laya_api 发布时间: 20170929