C# Class UnityEngine.ClothSphereColliderPair

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
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.

Method Details

ClothSphereColliderPair() public method

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.
return System

ClothSphereColliderPair() public method

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.
return System