大约有 150 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
Laya_社区(65) laya_api(23) Laya2.0_api(20) Laya3.0_api(18) Laya3.0_文档(8) Laya2.0_示例(6) Laya2.0_文档(5) Laya_示例(5)
...otherBody owner runInEditor scriptPath selfBody Accessors awaked destroyed enableLimit enableMotor enabled hideFlags id joint lowerTranslation maxMotorForce motorSpeed upperTranslation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostR...
来源: Laya3.0_api 发布时间: 20231115
...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
...sh Screen)。 在右侧面板中进行以下配置: 参数说明 激活 (Enable): 勾选此项以启用启动页功能。 背景颜色 (Background Color): 点击色块选择启动页的背景颜色。 图片 (Image): 设置启动页显示的图片资源路径(例如:bin/splash.png)。点击...
来源: Laya3.0_文档 发布时间: 20251128
... // 确保摇杆初始状态正确 this.joystickScript.enable(); // 异步加载建筑图片 this.loadBuildingImage(); } //异步加载建筑图片 private loadBuildingImage(): void { Laya.loader.load( "r...
来源: Laya_社区 发布时间: 20251125
...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