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

大约有 6,956 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0194 秒)

201. laya.html.dom.HTMLDivElement_API3.0 [ 95%]

...vElement=new HTMLDivElement(); div.innerHTML = "adivspanspan2p"; Hierarchy Sprite HTMLDivElement HTMLIframeElement Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha ble...

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

202. 滤镜-颜色滤镜 [ 95%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var ColorFilter = Laya.ColorFilter; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var ApePath = "../../res/apes/monkey2...

来源: Laya_示例 发布时间: 20260929

203. laya.display.EffectAnimation_API3.0 [ 95%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

204. laya.d3.core.light.LightSprite [ 95%]

...umentationAll Packages | All Classes | Index | Frames No Frames LightSpriteProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLig...

来源: laya_api 发布时间: 20170929

205. Sprite疯涨,clearTextureRes不生效 [ 95%]

Sprite疯涨,clearTextureRes不生效 Sprite从几十,一直增长,期间有用clearTextureRes,这个要如何处理才能降下来? 附件 : --> 2018-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ...

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

206. 动态创建img 或 sprite [ 95%]

LayaAir引擎 动态创建img 或 sprite let dd = new Laya.Sprite(); dd.graphics.drawTexture(this.img.texture, 0, 0, 750, 1334); dd.x = 50; dd.y = 50; this.addChild(dd);   this.img 绝对不为空,我想用一个sprite来画它,请问什么画(不是拷贝)?   2018-01-24 添加评论 ...

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

207. 发布ios,sprite无法设置宽高 [ 95%]

发布ios,sprite无法设置宽高 在浏览器上可以运行,但是发布到ios端,场景无法显示,并且在其他项目中,new一个Sprite或者Image的时候,不能设置宽高,只能scale,这个demo只有一个场景,一张图片,但是在app上,黑屏,什么都没...

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

208. 绘制矩形与圆角矩形(TypeScript-LayaAir基础篇(TS)-矢量图) [ 95%]

...形,示例代码如下: ```typescript module laya {     import Sprite = Laya.Sprite;     import Stage = Laya.Stage;       export class Sprite_DrawShapes {         private sp: Sprite;           constructor()         {             //...

来源: Laya2.0_文档 发布时间: 20210715

209. 滤镜-颜色滤镜 [ 95%]

...ild.x + apeTexture.width; grayApe.y = secondChild.y; } createApe() { const Sprite = Laya.Sprite; let ape = new Sprite(); Laya.stage.addChild(ape); apeTexture = Laya.loader.getRes(apePath); ape.graphics.drawTexture(apeTexture); return ape; } } new Filters_Color();module laya { import Sprite = Laya.Sp...

来源: Laya2.0_示例 发布时间: 20260929

210. 如何给sprite添加碰撞体跟刚体? [ 95%]

如何给sprite添加碰撞体跟刚体? 如何给sprite添加碰撞体跟刚体? 2018-10-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 jweilan 赞同来自: 没有用场景编辑器,一个类继承了s...

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