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

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

271. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 59%]

...ipt脚本获取只能通过this.owner.getChildByName("xxx") 等方式获取节点** - **建议:如果是页面级的逻辑,需要频繁访问页面内多个元素,使用runtime继承式写法,如果是独立小模块,功能单一,建议用script脚本方法,参见IDE新建2d示例项...

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

272. laya.ui.Button_API3.0 [ 59%]

...herited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Implementation of ISelect._url Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = fa...

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

273. laya.ui.CheckBox_API3.0 [ 59%]

...herited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Implementation of ISelect._url Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = fa...

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

274. laya.display.Text [ 59%]

...all,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite  CharacterCache : Boolean = true[static] Text  color : String 表示文本的...

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

275. 鼠标脚本(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 59%]

...tor(){super();} /** * 覆写3D对象组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(){ this.meshsp = this.owner as Laya.MeshSprite3D(); } //物体必须拥有碰撞组件(Collider) //当被鼠标点击 onMouseDown(e){ //console.log("...

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

276. laya.d3.component.volume.reflectionprobe.ReflectionProbe_API3.0 [ 59%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 _updateMark _updateMark: number Defined in laya/d3/component/Volume/reflectionProbe/ReflectionProbe.ts:60 修改了值,需要更新shader,需要和updateMask对应 owner owner: N...

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

277. laya.ui.TextInput_API3.0 [ 59%]

...herited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 _tf _tf: Input Overrides Label._tf Defined in laya/ui/TextInput.ts:119 Optional _url _url: string Inherited from Node._url Defined in laya/display/No...

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

278. laya.ui.TextArea_API3.0 [ 58%]

...herited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 _tf _tf: Input Inherited from TextInput._tf Overrides Label._tf Defined in laya/ui/TextInput.ts:119 Optional _url _url: string Inherited from Node._u...

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

279. laya.d3.core.MeshRenderer_API3.0 [ 58%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...

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

280. laya.d3.core.SkinnedMeshRenderer_API3.0 [ 58%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...

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