NodeWorld

RaycastHit

La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.

csharp
public struct RaycastHit

Namespace NodeWorld.Flux.

What a ray hit (Physics.Raycast).

Fields

point

csharp
public Vector3 point

Where the ray hit, in the world.

normal

csharp
public Vector3 normal

The normal of the surface there.

distance

csharp
public float distance

Distance from the ray's origin.

collider

csharp
public Collider collider

The collider hit.

Properties

transform

csharp
public Transform transform { get; }

The Transform of the collider hit.