大约有 47 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0031 秒)
...TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_CollisionEvent { constructor() { this.count = 7; this.bodys = []; this.touching = []; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.Physics...
来源: Laya2.0_示例 发布时间: 20240930
...ndow.Laya=window.Laya||{}; (function (exports, Laya) { 'use strict'; class Physics_Physics_CollisionFiltering { constructor() { this.preMovementX = 0; this.preMovementY = 0; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDe...
来源: Laya2.0_示例 发布时间: 20240930
...TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Bridge { constructor() { this.ecount = 30; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV ...
来源: Laya2.0_示例 发布时间: 20240930
Laya.Physics接口怎么用,为什么Laya.Physics.stop(),提示不是一个函数 调用Laya.Physics.stop()提示不是一个函数,应该怎么用 2018-09-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ...
来源: Laya_社区 发布时间: 20180922
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/Physics" Physics Class Physics 2D物理引擎,使用Box2d驱动 Hierarchy EventDispatcher Physics Index Constructors constructor Properties box2d positionIterations velocityIterations world PIXEL_RATIO Accessors all...
来源: Laya3.0_api 发布时间: 20231115
...I DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsProperties | Methods Packagelaya.physicsClasspublic class PhysicsInheritancePhysics EventDispatcher Object 2D物理引擎,使用Box2d驱动 Public Properties PropertyDefined By allowSleeping : Boolean 设置是...
来源: Laya2.0_api 发布时间: 20190513
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/RaycastVehicle" RaycastVehicle Class RaycastVehicle Hierarchy RaycastVehicle Index Constructors constructor Properties btVehiclePtr tuing userdata Methods addWheel getNumWheels getWheelInfo Constructors constructor ne...
来源: Laya3.0_api 发布时间: 20231115
...oadLib("libs/laya.ui.js") loadLib("libs/laya.d3.js") // loadLib("libs/laya.physics.js") loadLib("libs/laya.physics3D.js") // loadLib("libs/laya.physics3D.wasm.js") //-----libs-end------- //-----self-libs----- loadLib("libs/common/Tool.js") loadLib("libs/common/CameraMoveScript.js") loadLib("js/bundl...
来源: Laya_社区 发布时间: 20181015
...Stat; import WebGL = Laya.WebGL; import Render = Laya.Render; export class Physics_Cloth { private stageWidth: number = 800; private stageHeight: number = 600; private Matter: any = Browser.window.Matter; private LayaRender: any = Browser.window.LayaRender; private mouseConstraint: any; private engi...
来源: Laya_示例 发布时间: 20240930
...TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Strandbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.We...
来源: Laya2.0_示例 发布时间: 20240930