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

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

1. laya.resource.HTMLCanvas_API3.0 [ 100%]

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

2. laya.resource.Texture_API3.0 [ 91%]

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

3. laya.ui.Button_API3.0 [ 88%]

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

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

4. laya.ui.CheckBox_API3.0 [ 88%]

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

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

5. laya.display.Sprite_API3.0 [ 86%]

...的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所...

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

6. laya.ui.Radio_API3.0 [ 86%]

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

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

7. laya.display.Text_API3.0 [ 85%]

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

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

8. laya.display.Stage_API3.0 [ 85%]

...age提供几种适配模式,不同的适配模式会产生不同的画布大小,画布越大,渲染压力越大,所以要选择合适的适配方案。 Stage提供不同的帧率模式,帧率越高,渲染压力越大,越费电,合理使用帧率甚至动态更改帧率有利于改进...

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

9. laya.ui.TextInput_API3.0 [ 84%]

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

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

10. laya.ui.TextArea_API3.0 [ 84%]

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

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