言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Cloth.vertices

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public var vertices: Vector3[];
public Vector3[] vertices;
public vertices as Vector3[]

Description

布オブジェクトの現在の頂点位置

これは布オブジェクトの法線の読込みアクセスが行えるので、布オブジェクトの現在のシミュレート状態を分析することが出来ます。 法線のインデックスは必ずしも基となるメッシュのインデックスに対応しているわけではないことに注意してください - 三角形のストリッピングまたはUVシームは基となるメッシュ(例: 同じ頂点の多重インデックス)で使用され、布の頂点は 頂点ごとに1つのインデックスのみを使用する布シミュレーションとは異なります。