more bge reference api docstrings, leaving KX_FontObject and KX_NavMeshObject as TODO.
This commit is contained in:
parent
89b0b0516e
commit
b7f5c1c121
@ -324,6 +324,21 @@ General functions
|
||||
|
||||
.. warning: Not implimented yet
|
||||
|
||||
.. function:: getExitKey()
|
||||
|
||||
Gets the key used to exit the game engine
|
||||
|
||||
:return: The key (defaults to :mod:`bge.events.ESCKEY`)
|
||||
:rtype: int
|
||||
|
||||
.. function:: setExitKey(key)
|
||||
|
||||
Sets the key used to exit the game engine
|
||||
|
||||
:arg key: A key constant from :mod:`bge.events`
|
||||
:rtype key: int
|
||||
|
||||
|
||||
*****************
|
||||
Utility functions
|
||||
*****************
|
||||
|
@ -633,6 +633,14 @@ Types
|
||||
|
||||
:type: string
|
||||
|
||||
|
||||
.. class:: KX_SteeringActuator(SCA_IActuator)
|
||||
|
||||
SteeringActuator for navigation.
|
||||
|
||||
TODO.
|
||||
|
||||
|
||||
.. class:: CListValue(CPropValue)
|
||||
|
||||
This is a list like object used in the game engine internally that behaves similar to a python list in most ways.
|
||||
@ -698,6 +706,24 @@ Types
|
||||
|
||||
KX_BlenderMaterial
|
||||
|
||||
.. attribute:: shader
|
||||
|
||||
The materials shader.
|
||||
|
||||
:type: :class:`BL_Shader`
|
||||
|
||||
.. attribute:: blending
|
||||
|
||||
Ints used for pixel blending, (src, dst), matching the setBlending method.
|
||||
|
||||
:type: (integer, integer)
|
||||
|
||||
.. attribute:: material_index
|
||||
|
||||
The material's index.
|
||||
|
||||
:type: integer
|
||||
|
||||
.. method:: getShader()
|
||||
|
||||
Returns the material's shader.
|
||||
@ -1223,6 +1249,13 @@ Types
|
||||
|
||||
:type: :class:`CListValue` of :class:`KX_GameObject`'s
|
||||
|
||||
.. attribute:: life
|
||||
|
||||
The number of seconds until the object ends, assumes 50fps.
|
||||
(when added with an add object actuator), (read-only).
|
||||
|
||||
:type: float
|
||||
|
||||
.. method:: endObject()
|
||||
|
||||
Delete this object, can be used in place of the EndObject Actuator.
|
||||
@ -2176,6 +2209,17 @@ Types
|
||||
|
||||
:type: list of strings
|
||||
|
||||
|
||||
.. class:: KX_FontObject(KX_GameObject)
|
||||
|
||||
TODO.
|
||||
|
||||
|
||||
.. class:: KX_NavMeshObject(KX_GameObject)
|
||||
|
||||
TODO.
|
||||
|
||||
|
||||
.. class:: KX_ObjectActuator(SCA_IActuator)
|
||||
|
||||
The object actuator ("Motion Actuator") applies force, torque, displacement, angular displacement,
|
||||
|
Loading…
Reference in New Issue
Block a user