C# Класс UnityEngine.Collider

Наследование: Component
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ClosestPointOnBounds ( Vector3 position ) : Vector3

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

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

Приватные методы

Метод Описание
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

Описание методов

ClosestPointOnBounds() публичный Метод

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

public ClosestPointOnBounds ( Vector3 position ) : Vector3
position Vector3
Результат Vector3

Raycast() публичный Метод

public Raycast ( Ray ray, RaycastHit &hitInfo, float maxDistance ) : bool
ray Ray
hitInfo RaycastHit
maxDistance float
Результат bool