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

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

5861. mac下用FB打包发布测试页面,chrome浏览器看不到预期显示文字 [ 47%]

...          Laya.init(600, 300);             var txt:Text   = new Text();             txt.text     = "abc"+Laya.timer.currTimer;             txt.color     = '#FF0000';                          txt.fontSize    = 66;             txt.stroke     = 5...

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

5862. 图像组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...制Image: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Image }) public img: Laya.Image; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ on...

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

5863. laya.d3.webxr.core.WebXRExperienceHelper_API3.0 [ 47%]

...er.ts:29 support webXR Static xr_Manager xr_Manager: WebXRSessionManager = new WebXRSessionManager() Defined in laya/d3/WebXR/core/WebXRExperienceHelper.ts:25 single XRManager Methods Static enterXRAsync enterXRAsync(sessionMode: string, referenceSpaceType: string, cameraInfo: WebXRCameraInfo): Prom...

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

5864. 自定义的一个方法类,为什么第二次运行程序就报is not a function,第一次就是好的 [ 47%]

...叠 要回复问题请先登录 发起人 daohu 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有...

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

5865. (最新版ide和库已经测试)iOS环境浏览器使用mask黑屏 [ 47%]

...的问题,在GameControl onEnable中执行如下代码:private _sp = new Laya.Sprite(); private _testMask() { this._sp.graphics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = this._sp; }) }之后编译项目 2. 使用iphone...

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

5866. BlinnPhong材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 47%]

...的可以查看原demo:([demo地址]())。 ```typescript var material = new Laya.BlinnPhongMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置材质纹理 material.albedoTexture = texture; })); earth2.meshRend...

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

5867. laya.html.HtmlElement_API3.0 [ 47%]

...AttrString reset setAttr getFromPool returnToPool Constructors constructor new HtmlElement(): HtmlElement Defined in laya/html/HtmlElement.ts:28 Returns HtmlElement Properties _attrs _attrs: Record<string, any> Defined in laya/html/HtmlElement.ts:28 name name: string Defined in laya/html/HtmlE...

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

5868. LayaAir IDE 语言包的使用? [ 47%]

...Object=Laya.loader.getRes("lang.lang"); Text.langPacks=obj; var texts:Text=new Text(); texts.text="hello!welcom LayaBox"; Laya.stage.addChild(texts); } } }   2016-10-18 1 0 分享 微博 QZONE 微信 a13121527420 - 哇啦哇啦哇啦! 赞同来自: 你好我用的是1.71beta 版本,我找不到...

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

5869. layanative1.0 游戏运行一两个小时后帧率降到1 [ 47%]

... 要回复问题请先登录 发起人 ant2004eq 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 写个捕鱼游戏练练手 招聘:H5游戏开发 坐标:深圳南山 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没...

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

5870. 自定义Laya.Tab的item,tab注册的selectHandler无法触发到回调函数 [ 47%]

...myTab。 但是在该View对应的runtime类里面,myTab.selectHandler = new Laya.Handler(this,this.changeTab); 点击tabItem时,没有回到changeTab事件里面。请问要怎么处理? 附件 : --> tab.rar 2019-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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