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

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

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

...置。 bg.sizeGrid = "40,10,5,10";//设置 bg 对象的网格信息。 bg.width = 150;//设置 bg 对象的宽度。 bg.height = 250;//设置 bg 对象的高度。 Laya.stage.addChild(bg);//将此 bg 对象添加到显示列表。 var image:Image = new Image("resource/ui/image.png");//创建一个 I...

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

2. laya.resource.Texture2DArray_API3.0 [ 92%]

...Memory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll o...

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

3. laya.ui.AdvImage_API3.0 [ 91%]

...ents customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation s...

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

4. laya.resource.Texture2D_API3.0 [ 88%]

...Memory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getPixels gpuCompressFormat hasListener isCreateFromURL of...

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

5. laya.ui.Dialog_API3.0 [ 87%]

...bg:Image = new Image("resource/ui/bg.png"); bg.sizeGrid = "40,10,5,10"; bg.width = 150; bg.height = 250; addChild(bg); var image:Image = new Image("resource/ui/image.png"); addChild(image); var button:Button = new Button("resource/ui/btn_close.png"); button.name = Dialog.CLOSE;//设置button的name...

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

6. laya.resource.HTMLCanvas_API3.0 [ 86%]

...ext cpuMemory destroyed gpuMemory height id obsolute referenceCount source width cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory clear destroy event getContext getMemSize getTexture hasListener isCreateFromURL off offAll offAllCall...

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

7. laya.utils.Browser_API3.0 [ 85%]

...Storage supportWebAudio userAgent Accessors _isMiniGame clientHeight clientWidth container document height pixelRatio width window Methods createElement getElementById getQueryString now removeElement Properties Static PLATFORM_ANDROID PLATFORM_ANDROID: number = 1 Defined in laya/utils/Browser.ts:71...

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

8. laya.ui.ProgressBar_API3.0 [ 73%]

... progressBar.value = 0.3;//设置 progressBar 的进度值。 progressBar.width = 200;//设置 progressBar 的宽度。 progressBar.height = 50;//设置 progressBar 的高度。 progressBar.sizeGrid = "5,10,5,10";//设置 progressBar 的网格信息。 progressBar.changeHandler = new Handler(this, o...

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

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

...al mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawC...

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

10. laya.ui.HSlider_API3.0 [ 59%]

...al mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawC...

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