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

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

131. 3d 轮廓描边示例改描边颜色无效 [ 76%]

...camera.viewport; var renderTexture = RenderTexture.createFromPool(viewPort.width,viewPort.height,RenderTextureFormat.R8G8B8A8,RenderTextureDepthFormat.DEPTHSTENCIL_NONE); //将RenderTexture设置渲染目标 buf.setRenderTarget(renderTexture); //清楚渲染目标的颜色黑色,不清理深...

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

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. 关于环形进度条,进度不能重置问题 [ 75%]

...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. 混合使用3D · LayaAir3.0文档 · LAYABOX [ 75%]

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

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

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

137. 自定义组件时,设置组件子节点的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

138. laya.ui.TextInput [ 74%]

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

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

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

140. laya.display.Animation_API3.0 [ 74%]

...AP_POSITIVE WRAP_REVERSE drawtocanvCtx framesMap Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters frames globalRotation globa...

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