C# Class UnityEngine.EventSystems.RaycastResult

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
depth int
distance float
index float
module BaseRaycaster
screenPosition Vector2
sortingLayer int
sortingOrder int
worldNormal Vector3
worldPosition Vector3

Méthodes publiques

Méthode Description
Clear ( ) : void

Reset the result.

ToString ( ) : string

Method Details

Clear() public méthode

Reset the result.

public Clear ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

depth public_oe property

The relative depth of the element.

public int depth
Résultat int

distance public_oe property

Distance to the hit.

public float distance
Résultat float

index public_oe property

Hit index.

public float index
Résultat float

module public_oe property

BaseInputModule that raised the hit.

public BaseRaycaster,UnityEngine.EventSystems module
Résultat BaseRaycaster

screenPosition public_oe property

The screen position from which the raycast was generated.

public Vector2 screenPosition
Résultat Vector2

sortingLayer public_oe property

The SortingLayer of the hit object.

public int sortingLayer
Résultat int

sortingOrder public_oe property

The SortingOrder for the hit object.

public int sortingOrder
Résultat int

worldNormal public_oe property

The normal at the hit location of the raycast.

public Vector3 worldNormal
Résultat Vector3

worldPosition public_oe property

The world position of the where the raycast has hit.

public Vector3 worldPosition
Résultat Vector3