大约有 2,738 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)
Laya_社区(1923) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
... detune: AudioParam, loop: true, loopStart: 0, …} completeHandler:null context:AudioContext {baseLatency: 0.01, destination: AudioDestinationNode, currentTime: 3.7706666666666666, sampleRate: 48000, listener: AudioListener, …} gain:GainNode {gain: AudioParam, context: Audio...
来源: Laya_社区 发布时间: 20171006
...ow Inherited Public Methods MethodDefined By ProgressBar(skin:String = null) 创建一个新的 ProgressBar 类实例。 ProgressBar addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):voi...
来源: Laya2.0_api 发布时间: 20190513
.../** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; Floor.__super.call(this); } //事件名称...
来源: Laya_社区 发布时间: 20160801
...ber = 0 动画播放的总时间 TileTexSet durationTimeArray : Array = null 当前动画每帧的时间间隔TileTexSet gid : int = -1唯一标识TileTexSet isAnimation : Boolean = falsetrue表示当前纹理,是一组动画,false表示当前只有一个纹理TileTexSet offX : int =...
来源: laya_api 发布时间: 20170929
...() 创建一个新的 Script 实例。 Script event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指...
来源: laya_api 发布时间: 20170929
...addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node...
来源: Laya2.0_api 发布时间: 20190513
...imationNode 实例。 Returns AnimationNode Properties name name: string | null = null Defined in laya/d3/animation/AnimationNode.ts:19 节点名称。 Methods addChild addChild(child: AnimationNode): void Defined in laya/d3/animation/AnimationNode.ts:36 添加子节点。 Parameters child: Animatio...
来源: Laya3.0_api 发布时间: 20231102
...,切换场景报异常 Cannot read property ‘_physicsUpdateList’of null 求指导~~ __proto._onDestroy=function(){ (this._inPhysicUpdateListIndex!==-1)&& (this._simulation._physicsUpdateList.remove(this)); var physics3D=Laya3D._physics3D; ...
来源: Laya_社区 发布时间: 20190318
...te`。 ```typescript static instantiate(original: Sprite3D, parent: Node = null, worldPositionStays: boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - posit...
来源: Laya2.0_文档 发布时间: 20210715
...Handler.create(this, onLoaded), laya.utils.Handler.create(this, onLoading, null, false)); //加载进度 function onLoading(progress){ console.log("onLoading: " + progress); } //加载完毕 function onLoaded(){ console.log("onLoaded"); } 我们刷新页面看看有什么效果 如下图所示 我...
来源: Laya_社区 发布时间: 20160722