大约有 595 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya_社区(200) Laya2.0_示例(114) Laya3.0_文档(99) Laya2.0_api(91) laya_api(48) Laya_示例(24) Laya2.0_文档(16) Laya3.0_api(3)
...utils.Handler; import laya.webgl.WebGL; public class LayaAirDemo { private const AniConfPath:String = "fighter/fighter.json"; public function LayaAirDemo() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE;...
来源: Laya_社区 发布时间: 20170628
...e的情况下保持 Android 高性能,要用对 ES6(利用 class、let/const、箭头函数、Map/Set 等能触发优化的特性),避免 async/await、解构、展开运算符等在低端机解释执行很重的语法,同时减少对象分配和 GC 压力。 2025-09-03 0 1 分享 微...
来源: Laya_社区 发布时间: 20250903
.../lib/arm64/liblayaair.so (laya::JSTextMemoryCanvas::getTextBitmapData(char const*, int, int, int)+48) 附件 : --> 2023-04-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 8 个回复 lv 赞同来自: 字体文件发下 2...
来源: Laya_社区 发布时间: 20230417
...sses | Index | Frames No Frames VBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box Component Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherite...
来源: laya_api 发布时间: 20170929
...码提供了一个简单的示例,演示了如何使用视频纹理: const { regClass, property } = Laya; /** * 使用视频纹理 */ @regClass() export class Script extends Laya.Script { declare owner: Laya.Sprite3D; @property(Laya.Scene3D) private scene: Laya.Scene3D; private videoPlane: Laya....
来源: Laya3.0_文档 发布时间: 20251010
...sses | Index | Frames No Frames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherite...
来源: laya_api 发布时间: 20170929
...2D,输出的renderTexture2D无法正常渲染。以下是代码部分: const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { @property({type: Laya.Sprite,caption:"测试组件1"}) private testSprite: Laya.Sprite; @property({type: Laya.Sprite...
来源: Laya_社区 发布时间: 20251229
...sses | Index | Frames No Frames VBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inheri...
来源: Laya2.0_api 发布时间: 20190513
...ts为例,讲解生命周期方法,以下是此脚本文件的代码: const { regClass, property } = Laya; /** * 子弹脚本,实现子弹飞行逻辑及对象池回收机制 */ @regClass() export default class Bullet extends Laya.Script { constructor() { super(); } onEnable(): void { //设...
来源: Laya3.0_文档 发布时间: 20251010
...fengliu.fkxyr-1/lib/arm64/liblayaair.so (laya::JCScriptRuntime::start(char const*)+148) #04 pc 0000000000216c6c /data/app/com.fengliu.fkxyr-1/lib/arm64/liblayaair.so (laya::JCConch::onAppStart()+268) #05 pc 000000000022b84c /data/app/com.fengliu.fkxyr-1/lib/arm64/liblayaair.so (Java_layaair_ga...
来源: Laya_社区 发布时间: 20200120