Page Menu
Home
Search
Configure Global Search
Log In
Files
F2135
patch-Text3d.py
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Ken Hughes (khughes)
Nov 13 2013, 1:02 PM
Size
2 KB
Subscribers
None
patch-Text3d.py
View Options
Index
:
blender
/
source
/
blender
/
python
/
api2_2x
/
doc
/
Text3d
.
py
===================================================================
RCS
file
:
/
cvsroot
/
bf
-
blender
/
blender
/
source
/
blender
/
python
/
api2_2x
/
doc
/
Text3d
.
py
,
v
retrieving
revision
1.5
diff
-
u
-
u
-
r1
.
5
Text3d
.
py
---
blender
/
source
/
blender
/
python
/
api2_2x
/
doc
/
Text3d
.
py
20
Mar
2005
12
:
34
:
36
-
0000
1.5
+++
blender
/
source
/
blender
/
python
/
api2_2x
/
doc
/
Text3d
.
py
21
May
2005
18
:
41
:
11
-
0000
@@
-
81
,
25
+
81
,
29
@@
def
getDrawMode
():
"""
- Get the drawing mode (3d, front, back)
- This item is a bitfield whose value is a combination of the following parameters.
- - Bit 0 : "3D" is set
- - Bit 1 : "Front" is set
- - Bit 2 : "Back" is set
- @rtype: integer bitfield
+ Get the drawing mode (3d, front, and/or back)
+ Gets the text3d's drawing modes. Uses module constants
+ - DRAW3D : "3D" is set
+ - DRAWFRONT : "Front" is set
+ - DRAWBACK : "Back" is set
+ @rtype: tuple of module constants
"""
def
setDrawMode
(
val
):
"""
- Set the drawing mode. The flag corresponds to the Blender settings for 3D, Front, Back. This parameter is a bitfield.
+ Set the text3d's drawing mode. Uses module constants
+ - DRAW3D
+ - DRAWFRONT
+ - DRAWBACK
@rtype: PyNone
- @type val: integer bitfield
- @param val : The Text3d's mode bits. See L{getDrawMode} for the meaning of the individual bits.
+ @type val: single module constant or tuple of module constants
+ @param val : The Text3d's modes. See L{getDrawMode} for the meaning of
+ the constants.
"""
def
getUVordco
():
"""
- Return wether UV coords are used for Texture mapping
+ Return whether UV coords are used for Texture mapping
"""
def
setUVordco
(
val
):
@@
-
268
,
7
+
272
,
7
@@
-
RIGHT
-
MIDDLE
-
FLUSH
-
@rtype
:
int
+
@rtype
:
module
constant
"""
def setAlignment(align):
@@ -279,7 +283,7 @@
- MIDDLE
- FLUSH
@rtype: PyNone
- @type align: int
+ @type align: module constant
@param align: The new text3d's Alignment value.
"""
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fc/ce/7bf53b1db4fa312af70b8ae9de3c
Event Timeline
Log In to Comment