RaycastHit

More information can be found in the Unity API Reference

Constructors

Constructor

Description

RaycastHit()

Members

Member

Description

barycentricCoordinate

collider

distance

lightmapCoord

normal

point

rigidbody

textureCoord

textureCoord2

transform

triangleIndex

Methods

Method

Description

ToString()

Details

class RaycastHit
RaycastHit RaycastHit()
Vector3 barycentricCoordinate
const Collider collider
float distance
const Vector2 lightmapCoord
Vector3 normal
Vector3 point
const Rigidbody rigidbody
const Vector2 textureCoord
const Vector2 textureCoord2
const Transform transform
const int triangleIndex
string ToString()