Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2005-06-15 10:22:26 +0400
committerStephen Swaney <sswaney@centurytel.net>2005-06-15 10:22:26 +0400
commit401dfba3051856906c487c4adb85b09358d57f7d (patch)
treed6e2358d847bc8385756f17655248751e5a11dc0 /source/blender/python/api2_2x/doc/Lamp.py
parent7eee2e7f8a38aa72695f13a21fe82906a6104cda (diff)
Changes to Documentation Format ONLY.v2.37a
no executable code. Martin noticed many of our bpy instance variables were incorrectly marked as class variables in the doc. This commit essentially changes the title of sections of the doc from Class Variables to Instance Variables. Now that we are adding class or module dictionaries for constants, etc. this is a distinction worth making. Plus it is right.
Diffstat (limited to 'source/blender/python/api2_2x/doc/Lamp.py')
-rw-r--r--source/blender/python/api2_2x/doc/Lamp.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/source/blender/python/api2_2x/doc/Lamp.py b/source/blender/python/api2_2x/doc/Lamp.py
index 7c8aa9dedc7..98a1d223e55 100644
--- a/source/blender/python/api2_2x/doc/Lamp.py
+++ b/source/blender/python/api2_2x/doc/Lamp.py
@@ -46,8 +46,8 @@ class Lamp:
The Lamp Data object
====================
This object gives access to Lamp-specific data in Blender.
- @cvar name: The Lamp Data name.
- @cvar type: The Lamp type (see the Types dict).
+ @ivar name: The Lamp Data name.
+ @ivar type: The Lamp type (see the Types dict).
@cvar Types: The Types dictionary.
- 'Lamp': 0
- 'Sun' : 1
@@ -55,7 +55,7 @@ class Lamp:
- 'Hemi': 3
- 'Area': 4
- 'Photon': 5
- @cvar mode: The mode flags: B{or'ed value} of the flags in the Modes dict.
+ @ivar mode: The mode flags: B{or'ed value} of the flags in the Modes dict.
@cvar Modes: The Modes dictionary.
- 'Shadows'
- 'Halo'
@@ -65,21 +65,21 @@ class Lamp:
- 'OnlyShadow'
- 'Sphere'
- 'Square'
- @cvar samples: The number of shadow map samples in [1, 16].
- @cvar bufferSize: The size of the shadow buffer in [512, 5120].
- @cvar haloStep: Volumetric halo sampling frequency in [0, 12].
- @cvar energy: The intensity of the light in [0.0, 10.0].
- @cvar dist: The distance value in [0.1, 5000.0].
- @cvar spotSize: The angle of the spot beam in degrees in [1.0, 180.0].
- @cvar spotBlend: The softness of the spot edge in [0.0, 1.0].
- @cvar clipStart: The shadow map clip start in [0.1, 1000.0].
- @cvar clipEnd: The shadow map clip end in [1.0, 5000.0].
- @cvar bias: The shadow map sampling bias in [0.01, 5.00].
- @cvar softness: The size of the shadow sample area in [1.0, 100.0].
- @cvar haloInt: The intensity of the spot halo in [0.0, 5.0].
- @cvar quad1: Light intensity value 1 for a Quad lamp in [0.0, 1.0].
- @cvar quad2: Light intensity value 2 for a Quad lamp in [0.0, 1.0].
- @cvar col: The color of the light, with each rgb component in [0.0, 1.0].
+ @ivar samples: The number of shadow map samples in [1, 16].
+ @ivar bufferSize: The size of the shadow buffer in [512, 5120].
+ @ivar haloStep: Volumetric halo sampling frequency in [0, 12].
+ @ivar energy: The intensity of the light in [0.0, 10.0].
+ @ivar dist: The distance value in [0.1, 5000.0].
+ @ivar spotSize: The angle of the spot beam in degrees in [1.0, 180.0].
+ @ivar spotBlend: The softness of the spot edge in [0.0, 1.0].
+ @ivar clipStart: The shadow map clip start in [0.1, 1000.0].
+ @ivar clipEnd: The shadow map clip end in [1.0, 5000.0].
+ @ivar bias: The shadow map sampling bias in [0.01, 5.00].
+ @ivar softness: The size of the shadow sample area in [1.0, 100.0].
+ @ivar haloInt: The intensity of the spot halo in [0.0, 5.0].
+ @ivar quad1: Light intensity value 1 for a Quad lamp in [0.0, 1.0].
+ @ivar quad2: Light intensity value 2 for a Quad lamp in [0.0, 1.0].
+ @ivar col: The color of the light, with each rgb component in [0.0, 1.0].
This is an rgb tuple whose values can be accessed in many ways:
- as a tuple: lamp.col, lamp.col[0], same for 1 and 2.
- as a dictionary: lamp.col['R'], same for 'G' and 'B'.