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

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

1. laya.ui.Image_API3.0 [ 100%]

...为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取显示对象图像的实际高度。 Returns number Inherited from Text.height Defined in laya/display/Sprite...

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

2. laya.ui.AdvImage_API3.0 [ 79%]

...d from AnimationBase.viewport Defined in laya/display/Sprite.ts:1828 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将不渲染 s...

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

3. laya.ui.Dialog_API3.0 [ 79%]

...为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取显示对象图像的实际高度。 Returns number Inherited from Text.height Defined in laya/display/Sprite...

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

4. laya.ui.ProgressBar_API3.0 [ 63%]

...为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取显示对象图像的实际高度。 Returns number Inherited from Text.height Defined in laya/display/Sprite...

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

5. laya.resource.HTMLCanvas_API3.0 [ 61%]

...ted from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:138 是否已销毁。 Returns boolean gpuMemory get gpuMemory(): number Inherited from Resour...

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

6. laya.resource.Texture2DArray_API3.0 [ 53%]

...ted from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number defaultTexture get defaultTexture(): BaseTexture Inherited from BaseTexture.defaultTexture Defined in laya/resource/BaseTexture.ts:272 默认贴图 Returns BaseTexture destroyed get destroyed(): boole...

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

7. laya.ui.HSlider_API3.0 [ 52%]

...为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取显示对象图像的实际高度。 Returns number Inherited from Text.height Defined in laya/display/Sprite...

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

8. laya.ui.VSlider_API3.0 [ 52%]

...为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取显示对象图像的实际高度。 Returns number Inherited from Text.height Defined in laya/display/Sprite...

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

9. laya.ui.Slider_API3.0 [ 51%]

...为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取显示对象图像的实际高度。 Returns number Inherited from Text.height Defined in laya/display/Sprite...

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

10. laya.ui.TextInput_API3.0 [ 51%]

...本显示为粗体。 textInput.fontSize = 30;//设置 textInput 的字体大小。 textInput.wordWrap = true;//设置 textInput 的文本自动换行。 textInput.x = 100;//设置 textInput 对象的属性 x 的值,用于控制 textInput 对象的显示位置。 textInput.y = 100;//设置 textInp...

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