C# Класс UnityEngine.ClothSphereColliderPair

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

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

Метод Описание
ClothSphereColliderPair ( SphereCollider a ) : System

Creates a ClothSphereColliderPair. If only one SphereCollider is given, the ClothSphereColliderPair will define a simple sphere. If two SphereColliders are given, the ClothSphereColliderPair defines a conic capsule shape, composed of the two spheres and the cone connecting the two.

ClothSphereColliderPair ( SphereCollider a, SphereCollider b ) : System

Creates a ClothSphereColliderPair. If only one SphereCollider is given, the ClothSphereColliderPair will define a simple sphere. If two SphereColliders are given, the ClothSphereColliderPair defines a conic capsule shape, composed of the two spheres and the cone connecting the two.

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

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

Creates a ClothSphereColliderPair. If only one SphereCollider is given, the ClothSphereColliderPair will define a simple sphere. If two SphereColliders are given, the ClothSphereColliderPair defines a conic capsule shape, composed of the two spheres and the cone connecting the two.

public ClothSphereColliderPair ( SphereCollider a ) : System
a SphereCollider The first SphereCollider of a ClothSphereColliderPair.
Результат System

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

Creates a ClothSphereColliderPair. If only one SphereCollider is given, the ClothSphereColliderPair will define a simple sphere. If two SphereColliders are given, the ClothSphereColliderPair defines a conic capsule shape, composed of the two spheres and the cone connecting the two.

public ClothSphereColliderPair ( SphereCollider a, SphereCollider b ) : System
a SphereCollider The first SphereCollider of a ClothSphereColliderPair.
b SphereCollider The second SphereCollider of a ClothSphereColliderPair.
Результат System