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

大约有 6,069 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0110 秒)

751. IDE-显示IDE创建的界面 [ 82%]

...ader = Laya.Loader; var Handler = Laya.Handler; var Event = Laya.Event; // 创建TestPageUI的子类 function TestUI() { TestUI.super(this); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Event.CLICK, this, onBtnClick); this.btn2.on(Event.CLICK, th...

来源: Laya_示例 发布时间: 20250219

752. IDE-显示IDE创建的界面 [ 82%]

...ader = Laya.Loader; var Handler = Laya.Handler; var Event = Laya.Event; // 创建TestPageUI的子类 function TestUI() { TestUI.super(this); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Event.CLICK, this, onBtnClick); this.btn2.on(Event.CLICK, th...

来源: Laya2.0_示例 发布时间: 20200319

753. 关于平行光渲染投影问题,求解惑 [ 82%]

...现阴影,请问我是哪个地方没搞对?  在测试DEMO里,我创建了一个球体,一个方体,球体坐标在方体正上方,光源为侧面光,方体负责接受球体的投影,但在俯视视角下,方体上并没有出现阴影。DEMO和效果图已上传。 附件 : -->...

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

754. Shader概述(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 82%]

...Shader3D下只有一个SubShader。 以下是Shader3D的功能介绍: - 1.创建一个Shader3D:创建Shader3D的函数是一个静态函数,通过Shader3D.add直接进行创建 ```typescript static add(name: string, attributeMap: any = null, uniformMap: any = null, enableInstancing: boolean = fa...

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

755. laya.d3.core.particleShuriKen.module.GradientDataInt [ 82%]

...dientDataInt ObjectImplements laya.d3.core.IClone GradientDataInt 类用于创建整形渐变。 Public Properties PropertyDefined By  gradientCount : int[read-only] 整形渐变数量。GradientDataIntPublic Methods  MethodDefined By  GradientDataInt() 创建一个 GradientDataInt 实例。 G...

来源: laya_api 发布时间: 20170929

756. laya.d3.core.particleShuriKen.module.GradientDataInt [ 82%]

...dientDataInt ObjectImplements laya.d3.core.IClone GradientDataInt 类用于创建整形渐变。 Public Properties PropertyDefined By  gradientCount : int[read-only] 整形渐变数量。GradientDataIntPublic Methods  MethodDefined By  GradientDataInt() 创建一个 GradientDataInt 实例。 G...

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

757. laya.d3.component.AnimatorControllerLayer [ 82%]

...ayer ObjectImplements laya.d3.core.IClone AnimatorControllerLayer 类用于创建动画控制器层。 Public Properties PropertyDefined By  blendingMode : int 名称。AnimatorControllerLayer  defaultState : AnimatorState 获取默认动画状态。 AnimatorControllerLayer  defaultWeight : i...

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

758. laya.utils.ClassUtils [ 82%]

...null, instanceHandler:Handler = null):*[static] 根据指定的 json 数据创建节点对象。 比如: { "type":"Sprite", "props":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "customProps":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this ...

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

759. laya.d3.graphics.IndexBuffer3D [ 82%]

...eritanceIndexBuffer3D Buffer laya.resource.Resource IndexBuffer3D 类用于创建索引缓冲。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By _bindActive : Object[static] Buffer _bindVertexBuffer : *[static] Buffer bufferUsage : int[read-...

来源: laya_api 发布时间: 20170929

760. 有关ui的问题 [ 82%]

...e,"TestScene",_super);       return TestScene; }(ui.TestViewUI));   1.1创建好ui后,导出,再自己创建个脚本,粘贴上上面的代码,ui.TestViewUI 这个是你创建UI时取的名字+UI 2.在你的程序主入口处new一个这个类 并添加到stage上面就可以   2018-05-...

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