Exppython:

- "last minute" updates to documentation and two modules.
This commit is contained in:
2003-07-13 16:28:17 +00:00
parent 08b6d716b0
commit 9cb79c6534
6 changed files with 34 additions and 45 deletions

View File

@@ -6,7 +6,8 @@
# epydoc -t Blender.py -n "Blender" --no-private --no-frames Blender.py \
# Camera.py Lamp.py Material.py BGL.py Window.py Text.py Image.py NMesh.py \
# Scene.py Draw.py Armature.py Types.py Curve.py Effect.py Ipo.py Metaball.py
# Scene.py Draw.py Armature.py Types.py Curve.py Effect.py Ipo.py Metaball.py \
# World.py
"""
This is the main Blender module.
@@ -31,6 +32,7 @@ Blender Python
- L{Effect}
- L{Curve}
- L{Ipo}
- L{World}
- L{BGL}
- L{Window}
- L{Draw}

View File

@@ -85,7 +85,6 @@ class Material:
@cvar mode: Mode flags as an or'ed int value. See the Modes dictionary keys
and descriptions in L{Modes}.
@cvar rgbCol: Material's RGB color triplet.
@cvar ambCol: Ambient color rgb triplet.
@cvar specCol: Specular color rgb triplet.
@cvar mirCol: Mirror color rgb triplet.
@cvar R: Red component of L{rgbCol} - [0.0, 1.0].
@@ -172,22 +171,6 @@ class Material:
- three floats as separate parameters: setRGBCol (r,g,b).
"""
def getAmbCol():
"""
Get the ambient color triplet.
@rtype: list of 3 floats
@return: [ambR, ambG, ambB]
"""
def setAmbCol(rgb = None):
"""
Set the ambient color triplet. If B{rgb} is None, set the color to black.
@type rgb: three floats or a list of three floats
@param rgb: The rgb color values in [0.0, 1.0] as:
- a list of three floats: setAmbCol ([r, g, b]) B{or}
- three floats as separate parameters: setAmbCol (r,g,b).
"""
def getSpecCol():
"""
Get the specular color triplet.

View File

@@ -27,11 +27,11 @@ Example::
@type FaceFlags: readonly dictionary
@type FaceModes: readonly dictionary
@type FaceTranspModes: readonly dictionary
@var FaceFlags: The available face selection flags:
@var FaceFlags: The available face selection flags.
- SELECT - selected.
- HIDE - hidden.
- ACTIVE - the active face.
@var FaceModes: The available face modes:
@var FaceModes: The available face modes.
- ALL - set all modes at once.
- BILLBOARD - always orient after camera.
- HALO - halo face, always point to camera.
@@ -45,8 +45,8 @@ Example::
- TEX - has texture image.
- TILES - uses tiled image.
- TWOSIDE - two-sided face.
@var FaceTranspModes: Note: these are ENUMS, they can't be combined (and'ed,
or'ed, etc) like a bit vector. The available face transparency modes:
@var FaceTranspModes: The available face transparency modes. Note: these are
ENUMS, they can't be combined (and'ed, or'ed, etc) like a bit vector.
- SOLID - draw solid.
- ADD - add to background (halo).
- ALPHA - draw with transparency.
@@ -270,7 +270,9 @@ class NMesh :
def insertKey(frame = None):
"""
Insert a mesh key at the given frame.
Insert a mesh key at the given frame. Remember to L{update} the nmesh
before doing this, or changes in the vertices won't be updated in the
Blender mesh.
@type frame: int
@param frame: The Scene frame where the mesh key should be inserted. If
None, the current frame is used.