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

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

341. laya.ui.Tree_API3.0 [ 50%]

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

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

342. 获取位置信息 · LayaAir3.0文档 · LAYABOX [ 50%]

用Geolocation获位置信息地理位置1、获取当前定位2、监视位置改变用Geolocation获位置信息 地理位置 如果设备支持Geolocation,并且所使用的浏览器支持,就可以使用Geolocation获取设备的当前地理位置。可以打开网页http://caniuse.com/#sea...

来源: Laya3.0_文档 发布时间: 20230725

343. laya.ui.Dialog [ 50%]

...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

344. laya.ui.HBox [ 50%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示...

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

345. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 49%]

...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

346. laya.resource.BaseTexture_API3.0 [ 49%]

...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

347. Laya3D 中如何解决3D模型上添加文本的问题,类似Unity中的3DText [ 49%]

...length + 1); settings.font = fontSize + "px 'Microsoft Yahei'" //获取2d的上线文开始设置相关属性 var canvas = settings.canvas; canvas.width = settings.canvasWidth; canvas.height = settings.canvasHeight; var ctx = canvas.getContext("2d"); //绘制背景色 ctx.fillSty...

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

348. laya.ui.FontClip_API3.0 [ 49%]

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

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

349. laya.map.MapLayer_API3.0 [ 49%]

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

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

350. BlinnPhong材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 48%]

...,更详细的可以查看官方示例([demo地址]())。 ```typescript //获取Sprite3D上的蒙皮网格精灵节点 var skinnedMeshSprite3d = dude2.getChildAt(0).getChildAt(0); //历遍蒙皮网格节点的材质列表 for (var i:int = 0; i (图6)

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