大约有 9 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0043 秒)
... 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 allowSleeping gravity worldRoot I Methods ev...
来源: Laya3.0_api 发布时间: 20231115
...PhysicsSettings Class CannonPhysicsSettings PhysicsSettings 类用于创建物理配置信息。 Hierarchy CannonPhysicsSettings Index Properties contactEquationRelaxation contactEquationStiffness fixedTimeStep flags maxSubSteps Properties contactEquationRelaxation contactEquationRelaxation: number ...
来源: Laya3.0_api 发布时间: 20231102
...ings" PhysicsSettings Class PhysicsSettings PhysicsSettings 类用于创建物理配置信息。 Hierarchy PhysicsSettings Index Properties fixedTimeStep flags maxSubSteps Properties fixedTimeStep fixedTimeStep: number = 1.0 / 60.0 Defined in laya/d3/physics/PhysicsSettings.ts:12 物理模拟器帧...
来源: Laya3.0_api 发布时间: 20231115
...nPhysicsSimulation Class CannonPhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy CannonPhysicsSimulation Index Properties fixedTimeStep maxSubSteps disableSimulation Accessors gravity solverIterations Methods clearForces dispatchCollideEvent rayCast rayCastAll raycastAllFromTo...
来源: Laya3.0_api 发布时间: 20231102
...idBody" RigidBody Class RigidBody 2D刚体,显示对象通过RigidBody和物理世界进行绑定,保持物理和显示对象之间的位置同步 物理世界的位置变化会自动同步到显示对象,显示对象本身的位移,旋转(父对象位移无效)也会自动同步到物...
来源: Laya3.0_api 发布时间: 20231115
...ation" PhysicsSimulation Class PhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy PhysicsSimulation Index Properties dt fixedTimeStep maxSubSteps disableSimulation Accessors continuousCollisionDetection gravity Methods addConstraint addVehicle clearForces createRaycastVehicle d...
来源: Laya3.0_api 发布时间: 20231115
...ls "laya/physics/PhysicsDebugDraw" PhysicsDebugDraw Class PhysicsDebugDraw 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPr...
来源: Laya3.0_api 发布时间: 20231115
...eRetinalCanvas: boolean = false Defined in laya/display/Stage.ts:171 使用物理分辨率作为canvas大小,会改进渲染效果,但是会降低性能 Static ALIGN_BOTTOM ALIGN_BOTTOM: string = "bottom" Defined in laya/display/Stage.ts:95 画布垂直居下对齐。 Static ALIGN_CENTER ALIGN_C...
来源: Laya3.0_api 发布时间: 20231115
...mulation(): PhysicsSimulation Defined in laya/d3/core/scene/Scene3D.ts:669 物理模拟器。 Returns PhysicsSimulation pivotX get pivotX(): number set pivotX(value: number): void Inherited from Text.pivotX Defined in laya/display/Sprite.ts:926 X轴 轴心点的位置,单位为像素,默认为0...
来源: Laya3.0_api 发布时间: 20231115