移動先: 概要 戻り値 キーワード. フラグ. MEL 例.
loadFluid [-currentTime] [-frame float] [-initialConditions]
loadFluid は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
グリッドにある個々のセル、またはすべてのセルに、密度(Density)、速度(Velocity)などのビルトインの流体アトリビュートを設定するコマンドです(単一の時間ステップに速度を設定する代わりに、フォース(Force)を設定することができます。フォースは時間ステップごとにロードや再適用されません)。 要確認: ワールド空間オプションも必要ですか?なし
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-initialConditions(-ic)
|
|
![]() ![]() ![]() |
||
|
||||
-currentTime(-ct)
|
|
![]() ![]() ![]() |
||
|
||||
-frame(-f)
|
float
|
![]() ![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Load the initial conditions cache into the fluid loadFluid -ic; // Load the fluid from the current frame of the playback cache // or the last frame if it is past the end loadFluid -ct; loadFluid -currentTime; // Load the fluid from the specified frame of the playback cache // or the last frame if it is past the end loadFluid -f 28;