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

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

1. sprite有没有成图片的方法 [ 100%]

sprite有没有成图片的方法 sprite有没有成图片的方法,直接用bitmap行不行? 2016-08-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: Sprite没有直接成T...

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

2. 麻烦问一下 二进制arraybuffer 如何换为bitmap?或者texture [ 94%]

...11-08 17:09 是可以的,把纹理数据换为base64编码,再用Sprite.fromImage

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

3. 微信小游戏渲染开放域卡顿处理 [ 78%]

...码请勿使用该类      */     export class WXBitmap extends Laya.Sprite {         private $viewName: string;         private $texture: Laya.Texture;         private $bitmap: any;         private $timer: lie.Timer;         public auto: boolean = true;    // 仅在未加...

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

4. Texture如何换成Texture2D有人搞过吗 [ 70%]

...ure2D和texture的话,就程序动态生成。 1.加载成texture  2.用Sprite画出来 3.spurl; var htmlCanvas = sp.drawToCanvas(width,height,0,0) var canvas = htmlCanvas.getCanvas(); var base64 = canvas.toDataURL("image/png"); var blob = dataURLtoBlob(base64); var url = Browser.window.URL.cr...

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

5. laya.ui.AdvImage [ 59%]

...kagelaya.uiClasspublic class AdvImageInheritanceAdvImage Image UIComponent Sprite Node EventDispatcher Object 广告插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : B...

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

6. laya.ui.Clip [ 56%]

...s | Events Packagelaya.uiClasspublic class ClipInheritanceClip Component Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、...

来源: laya_api 发布时间: 20170929

7. laya.ui.Clip [ 55%]

...| Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖...

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

8. laya.ui.Panel [ 53%]

...vents Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1...

来源: laya_api 发布时间: 20170929

9. laya.ui.Panel [ 52%]

...nts Packagelaya.uiClasspublic class PanelInheritancePanel Box UIComponent Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node ...

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

10. laya.media.SoundNode [ 52%]

...| Events Packagelaya.mediaClasspublic class SoundNodeInheritanceSoundNode Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值...

来源: laya_api 发布时间: 20170422