Exppython:

- Small fix in NMesh.c
- Updates to ipo related methods in Camera, World and Material
- Doc updates
This commit is contained in:
2003-10-28 00:29:37 +00:00
parent bfef1d0d92
commit 9c6275c55b
14 changed files with 867 additions and 663 deletions

View File

@@ -110,18 +110,13 @@ class Material:
@cvar nStars: Number of points on the halo stars - [3, 50].
@cvar nLines: Number of star shaped lines on each halo - [0, 250].
@cvar nRings: Number of halo rings - [0, 24].
@type ipo: Blender Ipo
@cvar ipo: This Material's ipo.
@warning: Most member variables assume values in some [Min, Max] interval.
When trying to set them, the given parameter will be clamped to lie in
that range: if val < Min, then val = Min, if val > Max, then val = Max.
"""
"""
def getIpo():
"""
Retreives the Ipo (if any) of an material object
@rtype: Ipo object
@return: the Ipo of the material object.
"""
def getName():
"""
Get the name of this Material object.
@@ -135,6 +130,26 @@ class Material:
@param name: The new name.
"""
def getIpo():
"""
Get the Ipo associated with this material, if any.
@rtype: Ipo
@return: the wrapped ipo or None.
"""
def setIpo(ipo):
"""
Link an ipo to this material.
@type ipo: Blender Ipo
@param ipo: a material type ipo.
"""
def clearIpo():
"""
Unlink the ipo from this material.
@return: True if there was an ipo linked or False otherwise.
"""
def getMode():
"""
Get this Material's mode flags.