Logo Search packages:      
Sourcecode: blender version File versions

Object::Object Class Reference

List of all members.


Detailed Description

The Object object
=================
  This object gives access to generic data from all objects in Blender.
  @cvar LocX: The X location coordinate of the object.
  @cvar LocY: The Y location coordinate of the object.
  @cvar LocZ: The Z location coordinate of the object.
  @cvar loc: The (X,Y,Z) location coordinates of the object (vector).
  @cvar dLocX: The delta X location coordinate of the object.
      This variable applies to IPO Objects only.
  @cvar dLocY: The delta Y location coordinate of the object.
      This variable applies to IPO Objects only.
  @cvar dLocZ: The delta Z location coordinate of the object.
      This variable applies to IPO Objects only.
  @cvar dloc: The delta (X,Y,Z) location coordinates of the object (vector).
      This variable applies to IPO Objects only.
  @cvar RotX: The X rotation angle (in radians) of the object.
  @cvar RotY: The Y rotation angle (in radians) of the object.
  @cvar RotZ: The Z rotation angle (in radians) of the object.
  @cvar rot: The (X,Y,Z) rotation angles (in radians) of the object (vector).
  @cvar dRotX: The delta X rotation angle (in radians) of the object.
      This variable applies to IPO Objects only.
  @cvar dRotY: The delta Y rotation angle (in radians) of the object.
      This variable applies to IPO Objects only.
  @cvar dRotZ: The delta Z rotation angle (in radians) of the object.
      This variable applies to IPO Objects only.
  @cvar drot: The delta (X,Y,Z) rotation angles (in radians) of the object
      (vector).
      This variable applies to IPO Objects only.
  @cvar SizeX: The X size of the object.
  @cvar SizeY: The Y size of the object.
  @cvar SizeZ: The Z size of the object.
  @cvar size: The (X,Y,Z) size of the object (vector).
  @cvar dSizeX: The delta X size of the object.
  @cvar dSizeY: The delta Y size of the object.
  @cvar dSizeZ: The delta Z size of the object.
  @cvar dsize: The delta (X,Y,Z) size of the object.
  @cvar EffX: The X effector coordinate of the object. Only applies to IKA.
  @cvar EffY: The Y effector coordinate of the object. Only applies to IKA.
  @cvar EffZ: The Z effector coordinate of the object. Only applies to IKA.
  @cvar Layer: The object layer.  This value is a bitmask with one position
      set for each of the 20 possible layers starting from the low order bit.
      The easiest way to deal with these values in in hexadecimal notation.
      Example::
        ob.Layer = 0x04 # sets layer 3 ( bit pattern 0100 )
      After setting the Layer value, call Blender.Redraw( -1 ) to update
      the interface.
  @cvar parent: The parent object of the object. (Read-only)
  @cvar track: The object tracking this object. (Read-only)
  @cvar data: The data of the object. (Read-only)
  @cvar ipo: The ipo data associated with the object. (Read-only)
  @cvar mat: The matrix of the object relative to its parent. (Read-only)
  @cvar matrix: The matrix of the object in world space. (Read-only)
  @cvar matrixLocal: The matrix of the object relative to its parent. (Read-only)
  @cvar matrixWorld: The matrix of the object in world space. (Read-only)
  @cvar colbits: The Material usage mask. A set bit #n means: the Material
      #n in the Object's material list is used. Otherwise, the Material #n
      of the Objects Data material list is displayed.
  @cvar drawType: The object's drawing type used. 1 - Bounding box,
      2 - wire, 3 - Solid, 4- Shaded, 5 - Textured.
  @cvar drawMode: The object's drawing mode used. The value can be a sum
      of: 2 - axis, 4 - texspace, 8 - drawname, 16 - drawimage,
      32 - drawwire.
  @cvar name: The name of the object.
  @cvar sel: The selection state of the object, 1/0.  

Definition at line 97 of file Object.py.


Public Member Functions

def addProperty
def addProperty
def addScriptLink
def buildParts
def clearIpo
def clearScriptLinks
def clearTrack
def clrParent
def copyAllPropertiesTo
def getAction
def getAllProperties
def getBoundBox
def getData
def getDeltaLocation
def getDrawMode
def getDrawType
def getEuler
def getInverseMatrix
def getIpo
def getLocation
def getMaterials
def getMatrix
def getName
def getParent
def getProperty
def getScriptLinks
def getSize
def getTimeOffset
def getTracked
def getType
def isSelected
def link
def makeDisplayList
def makeParent
def makeTrack
def removeAllProperties
def removeProperty
def removeProperty
def select
def setDeltaLocation
def setDrawMode
def setDrawType
def setEuler
def setIpo
def setLocation
def setMaterials
def setMatrix
def setName
def setSize
def setTimeOffset
def shareFrom

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index