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

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

101. laya.display.cmd.ClipRectCmd [ 85%]

...Properties PropertyDefined By  height : Number 高度。 ClipRectCmd  width : Number 宽度。 ClipRectCmd  x : Number X 轴偏移量。 ClipRectCmd  y : Number Y 轴偏移量。 ClipRectCmdPublic Methods  MethodDefined By  recover():void 回收到对象池 ClipRectCmdPublic Constants C...

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

102. laya.display.cmd.DrawImageCmd [ 85%]

...)高度。 DrawImageCmd  texture : Texture 纹理。 DrawImageCmd  width : Number (可选)宽度。 DrawImageCmd  x : Number (可选)X轴偏移量。 DrawImageCmd  y : Number (可选)Y轴偏移量。 DrawImageCmdPublic Methods  MethodDefined By  recover():void 回收到对...

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

103. laya.resource.RenderTexture2D [ 85%]

...sourceHeight : Number[read-only] 获取高度。 RenderTexture2D  sourceWidth : Number[read-only] 获取宽度。 RenderTexture2D wrapModeU : int 获取纹理横向循环模式。 BaseTexture wrapModeV : int 获取纹理纵向循环模式。 BaseTexturePublic Methods Hide Inherited Public Method...

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

104. laya.d3.resource.RenderTexture [ 85%]

...int[read-only] 获取表面类型。 return 表面类型。 RenderTexture width : int[read-only] 获取宽度。 BaseTexturePublic Methods  MethodDefined By  RenderTexture(width:Number, height:Number, surfaceFormat:int, surfaceType:int, depthStencilFormat:int, mipMap:Boolean = false, repeat:Bool...

来源: laya_api 发布时间: 20170929

105. 关于打包App后Texture.getPixels此方法不能使用 [ 85%]

...tPixels此方法不能使用 public function getPixels(x:Number, y:Number, width:Number, height:Number):Array {     if (Render.isWebGL) {        return RunDriver.getTexturePixels(this, x, y, width, height);     } else {       Browser.canvas.size(width, height);       Browser.canvas.cle...

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

106. laya.display.cmd.DrawPieCmd_API3.0 [ 85%]

...绘制扇形 Hierarchy DrawPieCmd Index Properties fillColor lineColor lineWidth radius x y ID Accessors endAngle startAngle Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/display/cmd/DrawPieCmd.ts:27 填充颜色,或者填充绘图的渐变对象。 lineColor l...

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

107. laya.display.cmd.DrawRectCmd [ 84%]

...)边框颜色,或者填充绘图的渐变对象。 DrawRectCmd  lineWidth : Number (可选)边框宽度。 DrawRectCmd  width : Number 矩形宽度。 DrawRectCmd  x : Number 开始绘制的 X 轴位置。 DrawRectCmd  y : Number 开始绘制的 Y 轴位置。 DrawRectCmdPublic Metho...

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

108. 为什么Laya.Panel的子节点在(0,0)位置会不显示呢? [ 84%]

...QZONE 微信 Devilsparta 赞同来自: var panel = new Laya.Panel(); panel.width = 800; panel.y = 30; panel.hScrollBarSkin = null; var sp = new Laya.Sprite(); panel.addChild(sp); sp.x = 0; sp.y = 0; // 用下面这组数据是可显示的 // sp.y = 1; // sp.x = 1; sp.graphics.drawRect(0, 0, 200, 200...

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

109. laya.display.cmd.FillTextureCmd [ 84%]

...可选)填充类型 repeat|repeat-x|repeat-y|no-repeat FillTextureCmd  width : Number (可选)宽度。 FillTextureCmd  x : Number X轴偏移量。 FillTextureCmd  y : Number Y轴偏移量。 FillTextureCmdPublic Methods  MethodDefined By  recover():void 回收到对象池 FillTexture...

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

110. Error: asBitmap no size! [ 84%]

...2 个回复 kylin 赞同来自: 果粒儿 怀疑是传参的时候canvas的width或height没设置,或者canvas的宽高为0 可以在这个方向上排查一下   或者提供一个简单可复现的demo,我们看一下 2020-07-31 1 1 分享 微博 QZONE 微信 明森 赞同来自: 原因是, ...

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