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

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

131. laya.ui.Tab_API3.0 [ 76%]

...ouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCa...

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

132. laya.ui.AutoBitmap_API3.0 [ 76%]

...nstructor Properties _color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture ge...

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

133. 关于环形进度条,进度不能重置问题 [ 76%]

...prite(); this.box.addChild(this.draw); this.draw.graphics.drawPie(this.say.width/2, this.say.height/2, this.say.width/2+9,0,this.angle, "#ffffff"); this.circle = new Sprite(); this.circle.graphics.drawCircle(this.say.width/2, this.say.height/2, this.say.width/2, "#00ffff"); this.circle.blendMode = "...

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

134. laya.ui.List [ 75%]

...read-only] 对象的显示高度(以像素单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素单位)。 Sprite drawCallOptimize : BooleanSprite  elasticEnabled : Boolean是否开启橡皮筋效果List filters : Array滤镜集合。可以设置多个...

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

135. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 75%]

...uth/sp_right.png"); this._arrCheck[3] = true; } break; } sp_icon.pos(input.width + 10, -8); input.addChild(sp_icon); } /** * 占位符处理 * @param input TextInput */ private _setPlaceHolder(input: Laya.TextInput) { switch (input.name) { case "input_nickname": // input.changeText("限6个中文以...

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

136. 自定义组件时,设置组件子节点的image的skin时,路径layaIde的路径而非项目路径 [ 75%]

...ize(); _proMask = new Sprite(); _proMask.graphics.drawRect(0, 0, _progress.width, _progress.height); _proMask.scaleX = 0; _progress.mask = _proMask; _bar.stateNum = 1; } override protected function createChildren():void { super.createChildren(); var index:Number = getChildIndex(_bg); addChildAt(_pro...

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

137. 2D节点使用3D · LayaAir3.3 · 引擎文档 · LAYABOX [ 75%]

...属性面板中,会显示属性信息,如图2-2所示。 (图2-2) Width:渲染纹理的像素宽度。 Height:渲染纹理的像素高度。 Color Format:渲染纹理的颜色格式。 Depth Format:渲染纹理的深度格式。 Generate Mipmap:如果勾选了,则自动生成多...

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

138. Uint8Array的像素数据在ios中无法改变图片纹理,安卓正常 [ 74%]

...testSetPixels() { let data = this.test1.texture.getPixels(0, 0, this.test1.width, this.test1.height); let width = this.test1.width; let height = data.length / 4 / width; let tex2d = new Laya.Texture2D(width, height, 1); tex2d.setPixels(data); this.imgAr.texture.setTo(tex2d); } 附件 : --> demo.zip ...

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

139. laya.ui.TextInput [ 74%]

...read-only] 对象的显示高度(以像素单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素单位)。 Sprite drawCallOptimize : BooleanSprite  editable : Boolean 设置可编辑状态。 TextInput filters : Array滤镜集合。可以设置多个滤...

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

140. 【简单跑酷--JS版】---Lv.3 添加地板 [ 74%]

...的速度和移动比背景快一点 this.x -= 5 * 1.2; if((this.x + this.width) < 0){ //判断整个floor是否不在屏幕里面了 如果不在了 移除当前floor Laya.timer.clear(this, this.onLoop); this.visible = false; this.removeSelf(); } } })(); 地板有了 我们打开MapFloor.js 来...

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