表示テーマ
CylinderGeometrySettings
CylinderGeometrySettingsは、Particleの個別設定をまとめる型です。取得元の設定から値を編集し、所有するComponentへ反映します。
型の情報
- 名前空間:
NEMEngine - 型:
NEMEngine.CylinderGeometrySettings(Class) - 継承元:NEMEngine.SettingsObject
bottomColor
csharp
public Color4 bottomColorCylinder下側の頂点色です。
操作:読取・変更。
bottomRadius
csharp
public float bottomRadiusCylinder下端の半径です。
操作:読取・変更。
bottomRadiusWeight
csharp
public float bottomRadiusWeight下端から中央への半径の補間形状です。
操作:読取・変更。
cap
csharp
public PrimitiveCylinderCap capCylinderの上端・下端を閉じるかを選びます。
操作:読取・変更。
centerColor
csharp
public Color4 centerColorCylinder中央の頂点色です。
操作:読取・変更。
centerRadius
csharp
public float centerRadiusCylinder中央の半径です。
操作:読取・変更。
height
csharp
public float height形状の高さです。
操作:読取・変更。
heightDivide
csharp
public int heightDivide高さ方向の分割数です。
操作:読取・変更。
maxAngle
csharp
public float maxAngle関節の回転角度の上限です。
操作:読取・変更。
radialDivide
csharp
public int radialDivide円周方向の分割数です。
操作:読取・変更。
topColor
csharp
public Color4 topColorCylinder上側の頂点色です。
操作:読取・変更。
topRadius
csharp
public float topRadiusCylinder上端の半径です。
操作:読取・変更。
topRadiusWeight
csharp
public float topRadiusWeight上端から中央への半径の補間形状です。
操作:読取・変更。
uvMode
csharp
public PrimitiveCylinderUVMode uvModeCylinderのUVの貼り方です。
操作:読取・変更。
実行時の扱い
Nativeと接続する操作は、Scriptが実行される有効なWorld内で使用します。破棄したGameObjectやComponentへのアクセスは避けてください。設定Snapshotは取得・編集・反映を1組で扱います。