大约有 1,656 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
...戏后台使用富文本编辑器插件来更新游戏的公告,前端会获取这个公告的html并赋值给HTMLDivElement进行展示 在laya1.0没有问题,在laya2.0就有问题: 1.<br />标签不能在<p>或者<span>里使用,但可以在<div>里使用,例子d...
来源: Laya_社区 发布时间: 20190815
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...灵显示到舞台 * * <p>也可以获取原始图片数据,分享到网上,从而实现截图效果,示例:</p> * * var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上...
来源: Laya_社区 发布时间: 20180626
...string Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:101 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...
来源: Laya3.0_api 发布时间: 20231102
...?~~~~~~~~~~~~~ unity中的模型导出后在laya中显示不正常 如何获取一个3D模型的长宽高? 如何导入3D模型,以及展示与编辑它 3d场景单材质单模型CurMem300多 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined ...
来源: Laya_社区 发布时间: 20180118
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? Layaair IDE的帧属性面板不见了 请问在layaIDE里,怎么调用微信小程序API 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之...
来源: Laya_社区 发布时间: 20171116
...);//清除所有数据归零。 ``` - **getSystemEndian()**:string[static] 获取系统的字节存储顺序。 ```typescript console.log(Laya.Byte.getSystemEndian());//打印系统的字节顺序 ``` - ### 属性 - **BIG_ENDIAN** : string= bigEndian[static] 表示多字节数字的最高有效字...
来源: Laya2.0_文档 发布时间: 20210714
...);//清除所有数据归零。 ``` - **getSystemEndian()**:String[static] 获取系统的字节存储顺序。 ```typescript trace(Byte.getSystemEndian());//打印系统的字节顺序 ``` - ### 属性 - **BIG_ENDIAN** : String= bigEndian[static] 表示多字节数字的最高有效字节位于字...
来源: Laya2.0_文档 发布时间: 20210715
...nds(realSize?: boolean): Rectangle Defined in laya/display/Graphics.ts:201 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Parameters Default value realSize: boolean = false (可选)使用图片的真实大小,默认为false Returns Rectangle 位...
来源: Laya3.0_api 发布时间: 20231115