大约有 403 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231102
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...n来估算速度 Rigidbody:从组件所属节点上的刚体组件中获取速度值,相当于使用了物理引擎计算的速度。 Custom:自定义速度,选择这个值后会出现EmitterVelocity这个属性,用于设置速度值。 MaxParticles(最大粒子数):系统中...
来源: Laya3.0_文档 发布时间: 20260122
...ne/XunLongShi.ls",Laya.Handler.create(this,function(scene) { //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLigh...
来源: Laya2.0_文档 发布时间: 20210715
...ene/XunLongShi.ls",Laya.Handler.create(null,function(scene){ //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLigh...
来源: Laya2.0_文档 发布时间: 20210715
...texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void...
来源: laya_api 发布时间: 20170929
...ngShi.ls",Handler.create(null,function(scene:Scene3D):void { //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera:Camera = scene.getChildByName("Main Camera") as Camera; //清除摄像机的标记 camera.clearFlag = BaseCamera.CLEARFLAG_SKY; //添加光照 var d...
来源: Laya2.0_文档 发布时间: 20210715
...texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void...
来源: Laya2.0_api 发布时间: 20190513
... wx.loadSubpackage() 返回的一个 LoadSubpackageTask,可以通过它获取当前下载进度。 参考微信小游戏官方文档。 打印的参数的意义分别是: progress:下载进度; totalBytesWritten:已经下载的数据长度; totalBytesExpectedToWrite:预期需要下载...
来源: Laya3.0_文档 发布时间: 20251010