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

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

241. 如何自定义Shader(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 45%]

...a.alertGlobalError = true; //初始化自定义Shader this.initShader(); //激活资源版本控制,版本文件由发布功能生成 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); ....... ``` 在GameUI中使用...

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

242. laya.html.dom.HTMLDivElement_API3.0 [ 45%]

...ted from Node.active Defined in laya/display/Node.ts:645 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:653 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...

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

243. 添加或修改物理ChainCollider属性points时,报错 [ 44%]

...318,99,358,70,418,99,458,70,518,99,558,70"; } /**开始游戏,通过激活本脚本方式开始游戏*/ startGame(): void { if (!this._started) { this._started = true; this.enabled = true; } var ground=this.owner.getChildByName("ground"); ground.addComponent(Laya.ChainCollider); thi...

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

244. laya.d3.core.light.AreaLightCom_API3.0 [ 44%]

...nt.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也会调用。 Returns void onAwake onAwake(): void Inherited from Component.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方...

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

245. laya.display.Stage [ 44%]

... Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node  alignH : String 水平对齐方式。默认值为"left"。 取值范围: "left" :居左对齐; "center" :居中对齐;...

来源: Laya2.0_api 发布时间: 20190513

246. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 44%]

...a.alertGlobalError = true; //初始化自定义Shader this.initShader(); //激活资源版本控制,版本文件由发布功能生成 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); ....... ``` 在GameUI中使用...

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

247. 微信小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...cene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader.load("sub...

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

248. laya.particle.Particle2D [ 44%]

... Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite  autoPlay : Boo...

来源: Laya2.0_api 发布时间: 20190513

249. laya.utils.PerfHUD [ 44%]

... Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boole...

来源: Laya2.0_api 发布时间: 20190513

250. laya.ui.ScaleBox [ 44%]

... Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : Number...

来源: Laya2.0_api 发布时间: 20190513