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

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

201. laya.html.dom.HTMLIframeElement_API3.0 [ 53%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...

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

202. 如何使用vscode编译laya项目 [ 53%]

...目文件夹下 .vscode/launch.json 添加配置   { "name":"compile", "type": "node", "request": "launch", //nodejs 可执行文件 "runtimeExecutable": "D:\\workspace\\layabox\\node-v7.9.0-win-x64\\node.exe", //使用Laya编辑器下的 gulpjs "program": "D:\\workspace\\layabox\\LayaAirIDE_beta\\...

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

203. UI运行时 · LayaAir3.4 · 引擎文档 · LAYABOX [ 53%]

...方法(如果有关闭动画,则在动画完成后执行) * @param type 如果是点击默认关闭按钮触发,则传入关闭按钮的名字(name),否则为null。 */ onClosed(type: string = null): void { } /**场景打开完成后,调用此方法(如果有弹出动画,则在动画...

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

204. laya.html.dom.HTMLDivElement_API3.0 [ 53%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...

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

205. laya.physics.PhysicsDebugDraw_API3.0 [ 53%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...

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

206. 场景管理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 53%]

...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Button }) public uiBtn: Laya.Button; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Even...

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

207. laya.map.TileAniSprite_API3.0 [ 52%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...

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

208. 基础文本 · LayaAir3.4 · 引擎文档 · LAYABOX [ 52%]

...wScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): void { let page: number = 1; Laya.timer.frameLoop(10, this, () =>...

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

209. laya.d3.core.Camera [ 52%]

...ite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D addLayer(layer:Layer):void 增加可视图层。 BaseCamera clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clo...

来源: laya_api 发布时间: 20170929

210. laya.particle.Particle2D_API3.0 [ 52%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...

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