大约有 549 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0045 秒)
Laya_社区(318) Laya3.0_api(158) Laya2.0_文档(35) Laya3.0_文档(16) Laya2.0_示例(7) laya_api(7) Laya_示例(6) Laya2.0_api(2)
...ypescript class LayaUISample { constructor() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor = "#ffcccc"; var data: string = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya....
来源: Laya2.0_文档 发布时间: 20210715
... from Resource.destroyUnusedResources Defined in laya/resource/Resource.ts:60 销毁当前没有被使用的资源,该函数会忽略lock=true的资源。 Returns void Globals "laya/spine/SpineTemplet" SpineTemplet constructor _id destroyedImmediately lock name skeletonData url uuid DEBUG RuntimeVer...
来源: Laya3.0_api 发布时间: 20231115
...新算坐标,就这样了。var g_stat_width = 800; var g_stat_heiht = 600; Laya.init(g_stat_width, g_stat_heiht); 加入下列代码设置窗口位置和拉伸效果。Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL; Laya.stage.alignH = Laya.S...
来源: Laya_社区 发布时间: 20160623
...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...
来源: Laya3.0_api 发布时间: 20231115
...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...
来源: Laya3.0_api 发布时间: 20231115
...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...
来源: Laya3.0_api 发布时间: 20231115
...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...
来源: Laya3.0_api 发布时间: 20231115
...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...
来源: Laya3.0_api 发布时间: 20231115
...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...
来源: Laya3.0_api 发布时间: 20231115
...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean linkSprite3DToAvatarNode linkSprite3DToAvatarNode(nodeName: string, sprite3D: Sprite3D): boolean Defined in laya/d3/component/Animator.ts:1439 关联精灵节点到Avatar节点,此An...
来源: Laya3.0_api 发布时间: 20231102