ドキュメント

Unity Engine

Unity Engine

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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ClothModule

ClothSphereColliderPair(SphereCollider)

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)

Parameters

The first SphereCollider of a ClothSphereColliderPair.

ClothSphereColliderPair(SphereCollider, SphereCollider)

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)

Parameters

The first SphereCollider of a ClothSphereColliderPair.

The second SphereCollider of a ClothSphereColliderPair.