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

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

131. 显示文本组件 · LayaAir3.0文档 · LAYABOX [ 80%]

...,此方法只执行一次 */ onAwake(): void { this.lab.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.lab.size(500, 30); //大小 this.lab.pivot(this.lab.width/2, this.lab.height/2); //轴心点 this.lab.text = "大家好,欢迎大家来到LayaAir IDE"; //文本...

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

132. 输入文本组件 · LayaAir3.0文档 · LAYABOX [ 80%]

...,此方法只执行一次 */ onAwake(): void { this.txtin.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txtin.size(500, 60); //大小 this.txtin.pivot(this.txtin.width/2, this.txtin.height/2); //轴心点 this.txtin.font = "宋体"; //字体 this.txtin.fontSize = 50...

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

133. laya.resource.BaseTexture_API3.0 [ 80%]

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

134. laya.spine.SpineSkeleton_API3.0 [ 80%]

...gh name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY animationName blendMode cacheAs components currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize externalSkins filters gl...

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

135. laya.ui.Component [ 80%]

...only] 对象的显示高度(以像素单位)。 Component  displayWidth : Number[read-only] 对象的显示宽度(以像素单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴...

来源: laya_api 发布时间: 20170929

136. laya.ui.UIComponent_API3.0 [ 80%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters...

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

137. laya.resource.RenderTextureCube_API3.0 [ 80%]

...ipmapLevel mipmap mipmapCount multiSamples obsolute referenceCount samples width wrapModeU wrapModeV wrapModeW bindCanvasRender cpuMemory currentActive gpuMemory Methods _addReference _clearReference _end _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuComp...

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

138. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 80%]

...ipmapLevel mipmap mipmapCount multiSamples obsolute referenceCount samples width wrapModeU wrapModeV wrapModeW bindCanvasRender cpuMemory currentActive gpuMemory Methods _addReference _clearReference _createRenderTarget _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getData...

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

139. laya.d3.resource.TextureCube_API3.0 [ 79%]

...Memory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW blackTexture cpuMemory gpuMemory grayTexture whiteTexture Methods _addReference _clearReference _getSource _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event gpuCompre...

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

140. iphoneX环境下新手引导的抠图透明区域黑色,其它机型都是正常的。 [ 79%]

...prite(); maskArea.alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); maskArea.name = "maskArea"; this.guideContainer.addChild(maskArea); this.interactionArea = new Laya.Sprite(); this.interactionArea.blendMode = "destination-out"; this.guideContainer.addCh...

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