大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0095 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
... Methods Show Inherited Public Methods MethodDefined By _afterInited():voidViewStack addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:...
来源: Laya2.0_api 发布时间: 20190513
...age.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "res/spine/spineRes1/dragon.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this.mFactory.loadAni(this....
来源: Laya2.0_示例 发布时间: 20260303
...ameraMoveScript() { } override public function _initialize(owner:Sprite3D):void { super._initialize(owner); Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); Laya.stage.on(Event.MOUSE_OUT, this, mouseOut); var camera:BaseCamera = owner.scene.currentCamer...
来源: Laya_社区 发布时间: 20170218
...ycastWheel.ts:10 Accessors brake get brake(): number set brake(v: number): void Defined in laya/d3/physics/RaycastWheel.ts:42 Returns number Defined in laya/d3/physics/RaycastWheel.ts:38 Parameters v: number Returns void deltaRotation get deltaRotation(): any Defined in laya/d3/physics/RaycastWheel....
来源: Laya3.0_api 发布时间: 20231115
...加子节点到指定的索引位置。 LayoutBox addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null...
来源: Laya2.0_api 发布时间: 20190513
...ructParams:Array = null):TextureCube[static] TextureCube generateMipmap():void 通过基础数据生成mipMap。 BaseTexture load(url:String, complete:Handler):void[static] 加载TextureCube。 TextureCube setSixSideImageSources(source:Array, premultiplyAlpha:Boolean = false):void 通过六...
来源: Laya2.0_api 发布时间: 20190513
...nStateEnter onStateExit onStateUpdate Methods onStateEnter onStateEnter(): void Defined in laya/components/AnimatorState2DScript.ts:5 动画状态开始时执行。 Returns void onStateExit onStateExit(): void Defined in laya/components/AnimatorState2DScript.ts:19 动画状态退出时执行。 Retu...
来源: Laya3.0_api 发布时间: 20231115
...showall"; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.buildWorld(); this.createLogger(); } private buildWorld(): void { this.createCoralRect(); this.createDeepSkyblueRect(); this.createDarkOrchidRect(); // 设置舞台 Laya.stage.name = "暗灰色舞台" Laya.stage.o...
来源: Laya2.0_示例 发布时间: 20260303
...age.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "res/spine/spineRes5/vine.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this.mFactory.loadAni(this.mA...
来源: Laya2.0_示例 发布时间: 20260303
...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addItem(view:Node):void 添加视图。 ViewStack callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延...
来源: laya_api 发布时间: 20170929