大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0093 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...(customShader: Shader3D, replacementTag: string, subshaderIndex?: number): void Inherited from RenderElement._convertSubShader Defined in laya/d3/core/render/RenderElement.ts:175 Parameters customShader: Shader3D replacementTag: string Default value subshaderIndex: number = 0 Returns void _renderUpd...
来源: Laya3.0_api 发布时间: 20231102
...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = nu...
来源: Laya2.0_api 发布时间: 20190513
.../HitArea.ts:18 Accessors hit get hit(): Graphics set hit(value: Graphics): void Defined in laya/utils/HitArea.ts:127 可点击区域,可以设置绘制一系列矢量图作为点击区域(目前只支持圆形,矩形,多边形) Returns Graphics Defined in laya/utils/HitArea.ts:132 可点...
来源: Laya3.0_api 发布时间: 20231115
...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addItem(item:ISelect, autoLayOut:Boolean = true):int 添加一个项对象,返回此项对象的索引id。 UIGroup callLater(method:Function, args:Array = null):void 延迟运行指定...
来源: laya_api 发布时间: 20170929
...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, me...
来源: laya_api 发布时间: 20170929
... BoundSphere clone():* 克隆。 BoundSphere cloneTo(destObject:*):void 克隆。 BoundSphere createfromPoints(points:Array, out:BoundSphere):void[static] 从顶点队列生成包围球。 BoundSphere createFromSubPoints(points:Array, start:int, count:int, out:BoundSphere):void[static] ...
来源: laya_api 发布时间: 20170929
... Public Methods Show Inherited Public Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用...
来源: Laya2.0_api 发布时间: 20190513
...showall"; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.createSprite(); Laya.stage.on(Event.MOUSE_UP, this, this.onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, this.onMouseUp); } private createSprite(): void { this.sp = new Sprite(); var w: number = 200, h: number = ...
来源: Laya_示例 发布时间: 20260303
...Pic(); this.showConsoleText(); this.startShake(); } private showShakePic():void { var shakePic:Sprite = new Sprite(); shakePic.loadImage("../../res/inputDevice/shake.png"); Laya.stage.addChild(shakePic); } private showConsoleText():void { this.console = new Text(); Laya.stage.addChild(this.console);...
来源: Laya_示例 发布时间: 20260303
...e.bgColor = "#232628"; Stat.show(); this.startFun(); } private startFun(): void { //创建动画模板 this.templet = new SpineTemplet(Laya.SpineVersion.v3_8); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onErr...
来源: Laya2.0_示例 发布时间: 20260303