大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
... 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
...制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
...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
...叠 要回复问题请先登录 发起人 daohu 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有...
来源: Laya_社区 发布时间: 20170907
...的问题,在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
...的可以查看原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
...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
...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
... 要回复问题请先登录 发起人 ant2004eq 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 写个捕鱼游戏练练手 招聘:H5游戏开发 坐标:深圳南山 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没...
来源: Laya_社区 发布时间: 20220210
...myTab。 但是在该View对应的runtime类里面,myTab.selectHandler = new Laya.Handler(this,this.changeTab); 点击tabItem时,没有回到changeTab事件里面。请问要怎么处理? 附件 : --> tab.rar 2019-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20190514