[Blender Index] [Blender Hierarchy]
Blender objects can be seen in the OOPS window as gray rectangles More...
#include <object.h>
Inherits: Blender
Blender objects can be seen in the OOPS window as gray rectangles. The have mainly a matrix and a connection to associated data like a mesh.
A Blender object has always a unique name. The name you give as an argument is only a proposal for the real name. Blender will check if this name is already used and rename the object if necessary.
All rectangles you can see in the OOPS window are instances of classes with an unique name for all instances of this class. Nevertheless the name of two instances of different classes can be the same.
The matrix is stored in a PyObject for the usage of it within Python. This is a list of lists to represent a 4x4 matrix. This might change in the future.
This holds the 4x4 inverse matrix as a list of lists for usage within Python.
The variable materials holds a list of names for usage within Python. The names can be used to get the real material settings by calling the function getMaterial(name).
To know within Python which type the connected data has this variable is either None (no connected data) or a the name of a valid class. The name stored in data can be used to get the real data (e.g. if type == "Mesh": mesh = getMesh(name)).
To know within Python which type the connected data has the type variable names the class and this variable is either None (no connected data) or a valid name. This name can be used to get the real data (e.g. if type == "Mesh": mesh = getMesh(name)).
This is part of the data you can see in Blender by pressing NKEY. You can access this data also with LocX, LocY, LocZ instead of loc[0], loc[1], loc[2].
This is part of the data you can see in Blender by pressing NKEY. You can access this data also with dLocX, dLocY, dLocZ instead of dloc[0], dloc[1], dloc[2].
This is part of the data you can see in Blender by pressing NKEY. You can access this data also with RotX, RotY, RotZ instead of rot[0], rot[1], rot[2].
This is part of the data you can see in Blender by pressing NKEY. You can access this data also with dRotX, dRotY, dRotZ instead of drot[0], drot[1], drot[2].
This is part of the data you can see in Blender by pressing NKEY. You can access this data also with SizeX, SizeY, SizeZ instead of size[0], size[1], size[2].
This is part of the data you can see in Blender by pressing NKEY. You can access this data also with dSizeX, dSizeY, dSizeZ instead of dsize[0], dsize[1], dsize[2].
| Kdoc |