Show / Hide Table of Contents

Struct RaycastHit

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public struct RaycastHit

Properties

| Improve this Doc View Source

barycentricCoordinate

Declaration
public Vector3 barycentricCoordinate { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

collider

Declaration
public Collider collider { get; }
Property Value
Type Description
Collider
| Improve this Doc View Source

distance

Declaration
public float distance { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

lightmapCoord

Declaration
public Vector2 lightmapCoord { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

normal

Declaration
public Vector3 normal { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

point

Declaration
public Vector3 point { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

rigidbody

Declaration
public Rigidbody rigidbody { get; }
Property Value
Type Description
Rigidbody
| Improve this Doc View Source

textureCoord

Declaration
public Vector2 textureCoord { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

textureCoord1

Declaration
[Obsolete("Use textureCoord2 instead. (UnityUpgradable) -> textureCoord2")]
public Vector2 textureCoord1 { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

textureCoord2

Declaration
public Vector2 textureCoord2 { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

transform

Declaration
public Transform transform { get; }
Property Value
Type Description
Transform
| Improve this Doc View Source

triangleIndex

Declaration
public int triangleIndex { get; }
Property Value
Type Description
Int32

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX