大约有 145 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0034 秒)
Laya_社区(62) laya_api(23) Laya2.0_api(20) Laya3.0_api(18) Laya2.0_示例(6) Laya3.0_文档(6) Laya2.0_文档(5) Laya_示例(5)
...ENT PERFORMANCE_LAYA_3D_RENDER_SHADOWMAP PERFORMANCE_LAYA_3D_UPDATESCRIPT _enable Accessors enable enableDataExport Methods begainSample endSample expoertFile setPerformanceDataTool showFunSampleFun Properties Static PERFORMANCE_LAYA PERFORMANCE_LAYA: string = "Laya" Defined in laya/utils/Performanc...
来源: Laya3.0_api 发布时间: 20231102
...stener off offAll offAllCaller on once start stop updatePhysicsByWorldRoot enable Constructors constructor new Physics(): Physics Defined in laya/physics/Physics.ts:39 Returns Physics Properties box2d box2d: any = (<any>window).box2d Defined in laya/physics/Physics.ts:19 Box2d引擎的全局...
来源: Laya3.0_api 发布时间: 20231115
...y owner runInEditor scriptPath selfBody Accessors awaked damping destroyed enableLimit enableMotor enabled frequency hideFlags id joint lowerTranslation maxMotorTorque motorSpeed upperTranslation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...ngleton owner runInEditor scriptPath Accessors awaked controller destroyed enabled hideFlags id isPlaying parameters speed Methods _initialize _setOwner addControllerLayer crossFade destroy getDefaultState getParamsvalue gotoAndStop gotoAndStopByFrame hasHideFlag onAdded onAwake onDisable onLateUpda...
来源: Laya3.0_api 发布时间: 20231115
...seRender castShadow : Boolean 获取是否产生阴影。 BaseRender enable : Boolean 获取是否可用。 BaseRender id : int[read-only] 获取唯一标识ID,通常用于识别。 BaseRender isPartOfStaticBatch : Boolean[read-only] 是否是静态的一部分。 BaseRender lightmapI...
来源: Laya2.0_api 发布时间: 20190513
...ods Show Inherited Public Methods MethodDefined By Physics()Physics enable(options:Object = null):void[static] 开启物理世界 options值参考如下: allowSleeping:true, gravity:10, customUpdate:false 自己控制物理更新时机,自己调用Physics.update Physics event(type:String...
来源: Laya2.0_api 发布时间: 20190513
...动 let rig:Laya.Rigidbody3D = cube.getComponent(Laya.Rigidbody3D) rig.enabled=false; rig.enabled=true; rig.linearVelocity = new Laya.Vector3(-5,0,0) Laya.timer.frameLoop(1,this,()=>{ rig.linearVelocity= new Laya.Vector3(rig.linearVelocity.x,0,rig.linearVelocity.z) console.log("rig.linear...
来源: Laya_社区 发布时间: 20191202
...工具 运行该项目 问题: 1、Main.ts的 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); 该行能成功运行,执行了this.onVersionLoaded回调; 2、然后该行Laya.AtlasInfoManager.enable("fileco...
来源: Laya_社区 发布时间: 20200111
...rmature:Skeleton; private mCurrSkinIndex:number = 0; constructor() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "res/spine/spineRes1/dragon.sk"; this.mFactory = new Templet(); this...
来源: Laya2.0_示例 发布时间: 20241118
...eCanvas : Boolean = false[static] StatPublic Methods MethodDefined By enable():void[static] 激活性能统计Stat hide():void[static] 隐藏性能统计信息。 Stat show(x:Number = 0, y:Number = 0):void[static] 显示性能统计信息。 StatProperty Detail_useCanvaspropertypublic sta...
来源: Laya2.0_api 发布时间: 20190513