Long name (short name) |
Argument types |
Properties |
-objectSpace(-os) |
boolean |
 |
|
Whether the queried value should be returned in object space
(TRUE), or world space (FALSE, the default). |
|
-voxelCenter(-vc) |
|
 |
|
The center position of the specified voxels. Returns an array
of floats (three for each of the indices in the query). (Valid only
with the -xIndex, -yIndex, and -zIndex flags.) |
|
-voxel(-v) |
float float float |
 |
|
Returns array of three ints representing the x, y, z indices of
the voxel within which the given point position is contained. If
the checkBounds flag is on, and the point is out of bounds, we
return nothing. Otherwise, even if the point is out of bounds,
index values are returned. When combined with the -radius flag,
returns an array of index triples representing a list of voxels
within a given radius of the given point position. |
|
-checkBounds(-cb) |
|
 |
|
If this flag is on, and the voxel index of a point that is out
of bounds is requested, then we return nothing. |
|
-inBounds(-ib) |
int int int |
 |
|
Are the three ints representing the x, y, z indices of a voxel
within the bounds of the fluid's voxel grid? True if yes, false if
not. (For 2D fluids, pass in z=0 for the third argument. See
examples.) |
|
-xIndex(-xi) |
int |
 |
|
Only return values for cells with this X index |
|
-yIndex(-yi) |
int |
 |
|
Only return values for cells with this Y index |
|
-zIndex(-zi) |
int |
 |
|
Only return values for cells with this Z index |
|
-radius(-r) |
float |
 |
|
Modifier for the -voxel flag. Returns a list of index triples
identifying voxels that fall within the given radius of the point
specified by the -voxel flag. |
|