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
path: root/source
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2004-05-20 11:21:07 +0400
committerStephen Swaney <sswaney@centurytel.net>2004-05-20 11:21:07 +0400
commit8391f0c337b1ef4b098b149f001ed9b763d61257 (patch)
tree9cdd81c7b371edb2fa18d88123717c1662adf6c3 /source
parent2124168e2104d67af6f9ee952aaf873ec482c279 (diff)
add some explanation about Object.Layer being a bitmask.
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/api2_2x/doc/Object.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py
index 05467610274..4422ec98dfe 100644
--- a/source/blender/python/api2_2x/doc/Object.py
+++ b/source/blender/python/api2_2x/doc/Object.py
@@ -129,7 +129,14 @@ class 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 (as a bitmask).
+ @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)