diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-07 14:25:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-07 14:25:51 +0300 |
commit | 1d021956f595f02e16e332f8e27a6a17acaa3e13 (patch) | |
tree | dad4980e85f71145d3ad5a8d3293d7e663625b94 /doc/python_api/rst | |
parent | 86f09e58d4d3ccc6ee360568941520991b740e7a (diff) |
Remove redundant lists, link instead
Diffstat (limited to 'doc/python_api/rst')
-rw-r--r-- | doc/python_api/rst/bge.constraints.rst | 26 | ||||
-rw-r--r-- | doc/python_api/rst/bge.texture.rst | 74 |
2 files changed, 12 insertions, 88 deletions
diff --git a/doc/python_api/rst/bge.constraints.rst b/doc/python_api/rst/bge.constraints.rst index cfd8c145077..bf015057dcb 100644 --- a/doc/python_api/rst/bge.constraints.rst +++ b/doc/python_api/rst/bge.constraints.rst @@ -32,14 +32,7 @@ Functions :arg physicsid_2: The physics id of the second object in constraint. :type physicsid_2: int - :arg constraint_type: The type of the constraint, one of... - - - :class:`POINTTOPOINT_CONSTRAINT` - - :class:`LINEHINGE_CONSTRAINT` - - :class:`ANGULAR_CONSTRAINT` - - :class:`CONETWIST_CONSTRAINT` - - :class:`VEHICLE_CONSTRAINT` - - :class:`GENERIC_6DOF_CONSTRAINT` + :arg constraint_type: The type of the constraint, see `Create Constraint Constants`_. :type constraint_type: int @@ -152,22 +145,7 @@ Functions Sets the debug mode. - :arg mode: The new debug mode. - - - :class:`DBG_NODEBUG` - - :class:`DBG_DRAWWIREFRAME` - - :class:`DBG_DRAWAABB` - - :class:`DBG_DRAWFREATURESTEXT` - - :class:`DBG_DRAWCONTACTPOINTS` - - :class:`DBG_NOHELPTEXT` - - :class:`DBG_DRAWTEXT` - - :class:`DBG_PROFILETIMINGS` - - :class:`DBG_ENABLESATCOMPARISION` - - :class:`DBG_DISABLEBULLETLCP` - - :class:`DBG_ENABLECCD` - - :class:`DBG_DRAWCONSTRAINTS` - - :class:`DBG_DRAWCONSTRAINTLIMITS` - - :class:`DBG_FASTWIREFRAME` + :arg mode: The new debug mode, see `Debug Mode Constants`_. :type mode: int diff --git a/doc/python_api/rst/bge.texture.rst b/doc/python_api/rst/bge.texture.rst index f7449592aa1..4588a3e1800 100644 --- a/doc/python_api/rst/bge.texture.rst +++ b/doc/python_api/rst/bge.texture.rst @@ -75,14 +75,7 @@ Video classes Video status. (readonly) :type: int - :value: one of... - - * :data:`SOURCE_ERROR` - * :data:`SOURCE_EMPTY` - * :data:`SOURCE_READY` - * :data:`SOURCE_PLAYING` - * :data:`SOURCE_STOPPED` - + :value: see `FFmpeg Video and Image Status`_. .. attribute:: range @@ -184,14 +177,8 @@ Video classes Refresh video - get its status. - :return: The video's status, one of... - - * :data:`SOURCE_ERROR` - * :data:`SOURCE_EMPTY` - * :data:`SOURCE_READY` - * :data:`SOURCE_PLAYING` - * :data:`SOURCE_STOPPED` - + :value: see `FFmpeg Video and Image Status`_. + :rtype: int ************* @@ -210,13 +197,7 @@ Image classes Image status. (readonly) :type: int - :value: one of... - - * :data:`SOURCE_ERROR` - * :data:`SOURCE_EMPTY` - * :data:`SOURCE_READY` - * :data:`SOURCE_PLAYING` - * :data:`SOURCE_STOPPED` + :value: see `FFmpeg Video and Image Status`_. .. attribute:: valid @@ -267,14 +248,8 @@ Image classes Refresh image, i.e. load it. - :return: the video's status, one of... - - * :data:`SOURCE_ERROR` - * :data:`SOURCE_EMPTY` - * :data:`SOURCE_READY` - * :data:`SOURCE_PLAYING` - * :data:`SOURCE_STOPPED` - + :value: see `FFmpeg Video and Image Status`_. + :rtype: int .. method:: reload(newname=None) @@ -350,36 +325,7 @@ Image classes :type positionX: int :arg positionY: Upper boundary of the region to be drawn on. :type positionY: int - :arg mode: Drawing mode, one of... (optional) - - * :data:`IMB_BLEND_MIX` - * :data:`IMB_BLEND_ADD` - * :data:`IMB_BLEND_SUB` - * :data:`IMB_BLEND_MUL` - * :data:`IMB_BLEND_LIGHTEN` - * :data:`IMB_BLEND_DARKEN` - * :data:`IMB_BLEND_ERASE_ALPHA` - * :data:`IMB_BLEND_ADD_ALPHA` - * :data:`IMB_BLEND_OVERLAY` - * :data:`IMB_BLEND_HARDLIGHT` - * :data:`IMB_BLEND_COLORBURN` - * :data:`IMB_BLEND_LINEARBURN` - * :data:`IMB_BLEND_COLORDODGE` - * :data:`IMB_BLEND_SCREEN` - * :data:`IMB_BLEND_SOFTLIGHT` - * :data:`IMB_BLEND_PINLIGHT` - * :data:`IMB_BLEND_VIVIDLIGHT` - * :data:`IMB_BLEND_LINEARLIGHT` - * :data:`IMB_BLEND_DIFFERENCE` - * :data:`IMB_BLEND_EXCLUSION` - * :data:`IMB_BLEND_HUE` - * :data:`IMB_BLEND_SATURATION` - * :data:`IMB_BLEND_LUMINOSITY` - * :data:`IMB_BLEND_COLOR` - * :data:`IMB_BLEND_COPY` - * :data:`IMB_BLEND_COPY_RGB` - * :data:`IMB_BLEND_COPY_ALPHA` - + :arg mode: Drawing mode, see `Image Blending Modes`_. :type mode: int @@ -1100,8 +1046,8 @@ Functions Constants ********* -FFmpeg video and image statuses -+++++++++++++++++++++++++++++++ +FFmpeg Video and Image Status ++++++++++++++++++++++++++++++ .. data:: SOURCE_ERROR @@ -1115,7 +1061,7 @@ FFmpeg video and image statuses .. data:: SOURCE_STOPPED -Image blending modes +Image Blending Modes ++++++++++++++++++++ See Wikipedia's `Blend Modes <https://en.wikipedia.org/wiki/Blend_modes>`_ for reference. |