Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PhysicsRayResult

用于保存物理射线检测结果。

Hierarchy

  • PhysicsRayResult

Index

Properties

Private _collider

_collider: Collider | null = null

Private _distance

_distance: number = 0

Private _hitNormal

_hitNormal: Vec3 = new Vec3()

Private _hitPoint

_hitPoint: Vec3 = new Vec3()

Accessors

collider

distance

  • get distance(): number

hitNormal

  • get hitNormal(): Vec3

hitPoint

  • get hitPoint(): Vec3

Methods

assign

clone

Generated using TypeDoc