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

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

1. laya.physics.Physics [ 100%]

...tBodyCount():int获得刚体总数量Physics  getContactCount():int获得碰撞总数量Physics  getJointCount():int获得关节总数量Physics hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(typ...

来源: Laya2.0_api 发布时间: 20190513

2. laya.particle.Particle2D [ 98%]

...示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取显示对象图像的实际高度。 Sprite hitArea : * 可以...

来源: Laya2.0_api 发布时间: 20190513

3. laya.physics.CircleCollider [ 86%]

...cleColliderInheritanceCircleCollider ColliderBase Component Object 2D圆形碰撞体 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By density : Number密度值,值可以为零或者是正数,建议使用相似的密度,这样做可以改...

来源: Laya2.0_api 发布时间: 20190513

4. laya.physics.BoxCollider [ 85%]

...ss BoxColliderInheritanceBoxCollider ColliderBase Component Object 2D矩形碰撞体 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By density : Number密度值,值可以为零或者是正数,建议使用相似的密度,这样做可以改...

来源: Laya2.0_api 发布时间: 20190513

5. laya.physics.PolygonCollider [ 84%]

...olliderInheritancePolygonCollider ColliderBase Component Object 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,所以点的数量不建议超过8个,也不能小于...

来源: Laya2.0_api 发布时间: 20190513

6. laya.physics.ChainCollider [ 83%]

...hainColliderInheritanceChainCollider ColliderBase Component Object 2D线形碰撞体 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By density : Number密度值,值可以为零或者是正数,建议使用相似的密度,这样做可以改...

来源: Laya2.0_api 发布时间: 20190513

7. laya.physics.RigidBody [ 75%]

...为true,可以防止高速穿透RigidBody  category : int = 1[只读]碰撞类别,使用2的幂次方值指定,有32种不同的碰撞类别可用RigidBody destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component  gravi...

来源: Laya2.0_api 发布时间: 20190513

8. laya.d3.core.scene.Scene3D [ 69%]

...示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取显示对象图像的实际高度。 Sprite hitArea : * 可以...

来源: Laya2.0_api 发布时间: 20190513