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

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

1. laya.display.Graphics [ 100%]

...s  MethodDefined By  Graphics()Graphics  alpha(alpha:Number):AlphaCmd 设置透明度。 Graphics  clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不...

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

2. laya.display.Graphics [ 99%]

...建一个新的 Graphics 类实例。 Graphics  alpha(value:Number):void 设置透明度。 Graphics  clear(recoverCmds:Boolean = false):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):void 设置剪裁区域,超出剪裁区域的坐标不显示...

来源: laya_api 发布时间: 20170929

3. laya.display.Graphics_API3.0 [ 98%]

...pha alpha(alpha: number): AlphaCmd Defined in laya/display/Graphics.ts:354 设置透明度。 Parameters alpha: number Returns AlphaCmd clear clear(recoverCmds?: boolean): void Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回...

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

4. laya.ui.AutoBitmap_API3.0 [ 98%]

...aCmd Inherited from Graphics.alpha Defined in laya/display/Graphics.ts:354 设置透明度。 Parameters alpha: number Returns AlphaCmd clear clear(recoverCmds?: boolean): void Inherited from Graphics.clear Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recover...

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

5. laya.ani.GraphicsAni_API3.0 [ 98%]

...aCmd Inherited from Graphics.alpha Defined in laya/display/Graphics.ts:354 设置透明度。 Parameters alpha: number Returns AlphaCmd clear clear(recoverCmds?: boolean): void Inherited from Graphics.clear Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recover...

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

6. laya.resource.Texture [ 95%]

...。 EventDispatcher  setTo(bitmap:Bitmap = null, uv:Array = null):void 设置此对象的位图资源、UV数据信息。 TextureEvents Event Summary Defined By  loaded资源加载完成后调度。TextureProperty Detail_atlasIDpropertypublic var _atlasID:int = -1bitmapproperty public var bitm...

来源: laya_api 发布时间: 20170929

7. laya.resource.Texture [ 95%]

...ll, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void 设置此对象的位图资源、UV数据信息。 TextureEvents Event Summary Defined By  ready资源加载完成后调度。TextureProperty Detailbitmappropertybitmap:Texture2D 获取位图。 Implementation     publ...

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

8. laya.display.Stage [ 93%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要...

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

9. laya.display.Stage [ 90%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要...

来源: laya_api 发布时间: 20170929

10. 如何旋转Rectangle [ 90%]

...? 角度 如何 转换成 Y旋转 的四元数? 一个动画如何设置绕自身中心点旋转,我这么设置_ani.pivot(_ani.width/2,_ani.height/2);不行,而且也没有锚点可以设置,如何实现 元素旋转后,所绑定的事件失效 把摄像机添加到一个物体上,...

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