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

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

771. laya.display.Sprite [ 50%]

...节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请...

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

772. dcc服务端应该配置怎么样的环境才能让手机客户端更新资源时能够正确的访问到 [ 50%]

...题请先登录 发起人 nie341 相关问题 请问有没有方法能够获取“鼠标是否处于按下状态”? LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的...

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

773. laya.effect.FadeOut_API3.0 [ 50%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...

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

774. laya.effect.FadeIn_API3.0 [ 50%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...

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

775. laya.ui.Radio [ 50%]

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

来源: laya_api 发布时间: 20170929

776. laya.ui.Slider [ 50%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定...

来源: laya_api 发布时间: 20170929

777. laya.ui.Radio [ 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

778. laya.ui.Image [ 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

779. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 50%]

...); function clickHandler(){ var url = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上...

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

780. laya.ui.ColorPicker [ 50%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 表示颜色样本列表面板的背景颜色值。 ColorPicker blendMo...

来源: laya_api 发布时间: 20170929