This object gives access to Lattices in Blender.
string
|
getName()
Get the name of this Lattice datablock. |
|
|
|
setName(name)
Set the name of this Lattice datablock. |
|
|
list of ints
|
getPartitions()
Gets the number of 'walls' or partitions that the Lattice has in the
x, y, and z dimensions. |
|
|
|
setPartitions(x,
y,
z)
Set the number of 'walls' or partitions that the Lattice will be
created with in the x, y, and z dimensions. |
|
|
list of strings
|
getKeyTypes()
Returns the deformation key types for the x, y, and z dimensions of
the Lattice. |
|
|
|
setKeyTypes(xType,
yType,
zType)
Sets the deformation key types for the x, y, and z dimensions of the
Lattice. |
|
|
string
|
getMode()
Returns the current Lattice mode |
|
|
|
setMode(modeType)
Sets the current Lattice mode There are two Lattice modes possible: |
|
|
list of floats
|
getPoint(index)
Returns the coordinates of a point in the Lattice by index. |
|
|
|
setPoint(index,
position)
Sets the coordinates of a point in the Lattice by index. |
|
|
Key.Key
|
getKey()
Returns the Key.Key
object associated with this Lattice. |
|
|
|
insertKey(frame)
Inserts the current state of the Lattice as a new absolute keyframe |
|
|
Lattice
|
|
|
depth
The number of z dimension partitions.
|
|
depthType
The z dimension key type.
|
bool
|
fakeUser
When set to True, this datablock wont be removed, even if nothing is
using it.
|
|
height
The number of y dimension partitions.
|
|
heightType
The y dimension key type.
|
|
latSize
The number of points in this Lattice (width*height*depth).
|
string or None
|
lib
path to the blend file this datablock is stored in (readonly).
|
|
mode
The current mode of the Lattice.
|
string
|
name
unique name within each blend file.
|
IDGroup
|
properties
Returns an IDGroup reference to this datablocks's ID
Properties.
|
bool
|
tag
A temporary tag that to flag data as being used within a loop.
|
int
|
users
The number of users this datablock has.
|
|
width
The number of x dimension partitions.
|
|
widthType
The x dimension key type.
|