fluidCacheInfo is undoable, queryable, and editable.
A command to get information about the fluids cache.
Get the startFrame and resolution for InitialConditions.
Get the endFrame as well for a playback cache.
Note that for the playback cache, it will look at the current time
(or last frame if the current time is past end of cache)
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-initialConditions(-ic)
|
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Specifies the cache to be queried is the "Initial Conditions" cache.
|
|
-playback(-pb)
|
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Specifies the cache to be queried is the "Playback" cache.
|
|
-startFrame(-sf)
|
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Returns start time for cache as float.
|
|
-endFrame(-ef)
|
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Returns end time of cache as float.
|
|
-resolution(-re)
|
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Returns cache resolution as float[].
|
|
-hasCache(-hc)
|
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Returns true if fluid has specified cache, false if not.
|
|
-attribute(-at)
|
string
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Modifier to the "hasData" flag, used to query whether a
cache has data (at the current time)
for a specific fluid attribute. Valid attribute
values are "density", "velocity", "temperature", "fuel", "color",
"coordinates" (for texture coordinates), "falloff".
|
|
-hasData(-hd)
|
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Queries whether a given cache has data in it at the time specified
by the -time flag. (If not -time flag is present, -hasData assumes
the current time.)
When used with
the "attribute" flag, indicates if data for the specified attribute
exists in the cache. When used without the "attribute" flag, "hasData"
indicates whether there is data in the cache for any of the valid
fluid attributes.
|
|
-cacheTime(-t)
|
time
|
![create create](../gfx/create.gif) ![query query](../gfx/query.gif)
|
|
Only valid with the -hasData flag. The time the -hasData flag
uses when it queries the cache to see if there is data.
|
|