• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 17 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0050 秒)

1. laya.physics.Physics_API3.0 [ 100%]

... 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

2. laya.components.Script_API3.0 [ 64%]

...nter(collision: Collision): void Defined in laya/components/Script.ts:73 3D物理碰撞器事件(不适用2D),开始碰撞时执行 Parameters collision: Collision Returns void Optional onCollisionExit onCollisionExit(collision: Collision): void Defined in laya/components/Script.ts:83 3D物理...

来源: Laya3.0_api 发布时间: 20231115

3. laya.physics.PhysicsDebugDraw_API3.0 [ 57%]

...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

4. laya.d3.physics.PhysicsComponent_API3.0 [ 56%]

...t" PhysicsComponent Class PhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component PhysicsComponent PhysicsTriggerComponent CharacterController Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked...

来源: Laya3.0_api 发布时间: 20231115

5. laya.d3.physics.PhysicsTriggerComponent_API3.0 [ 54%]

...onent Class PhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked c...

来源: Laya3.0_api 发布时间: 20231115

6. laya.d3.physics.PhysicsCollider_API3.0 [ 53%]

...ider" PhysicsCollider Class PhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy PhysicsTriggerComponent PhysicsCollider Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith ccdMotionThreshold cc...

来源: Laya3.0_api 发布时间: 20231115

7. laya.d3.core.scene.Scene3D_API3.0 [ 53%]

...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

8. laya.physics.RigidBody_API3.0 [ 51%]

...idBody" RigidBody Class RigidBody 2D刚体,显示对象通过RigidBody和物理世界进行绑定,保持物理和显示对象之间的位置同步 物理世界的位置变化会自动同步到显示对象,显示对象本身的位移,旋转(父对象位移无效)也会自动同步到物...

来源: Laya3.0_api 发布时间: 20231115

9. laya.display.Stage_API3.0 [ 50%]

...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

10. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 50%]

...sicsComponent Class CannonPhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component CannonPhysicsComponent CannonPhysicsTriggerComponent Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canColl...

来源: Laya3.0_api 发布时间: 20231102