C# Class UnityEngine.Collider

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

Méthodes publiques

Méthode Description
ClosestPointOnBounds ( Vector3 position ) : Vector3

The closest point to the bounding box of the attached collider.

Raycast ( Ray ray, RaycastHit &hitInfo, float maxDistance ) : bool

Private Methods

Méthode Description
INTERNAL_CALL_ClosestPointOnBounds ( Collider self, Vector3 &position, Vector3 &value ) : void
INTERNAL_CALL_Internal_Raycast ( Collider col, Ray &ray, RaycastHit &hitInfo, float maxDistance ) : bool
INTERNAL_get_bounds ( Bounds &value ) : void
Internal_Raycast ( Collider col, Ray ray, RaycastHit &hitInfo, float maxDistance ) : bool

Method Details

ClosestPointOnBounds() public méthode

The closest point to the bounding box of the attached collider.

public ClosestPointOnBounds ( Vector3 position ) : Vector3
position Vector3
Résultat Vector3

Raycast() public méthode

public Raycast ( Ray ray, RaycastHit &hitInfo, float maxDistance ) : bool
ray Ray
hitInfo RaycastHit
maxDistance float
Résultat bool