KX_BlenderMaterial(PyObjectPlus)¶
base class — PyObjectPlus
-
class
bge.types.
KX_BlenderMaterial
(PyObjectPlus)¶ KX_BlenderMaterial
-
blending
¶ Ints used for pixel blending, (src, dst), matching the setBlending method.
Type: (integer, integer)
-
material_index
¶ The material’s index.
Type: integer
-
setBlending
(src, dest)¶ Set the pixel color arithmetic functions.
Parameters: - src – Specifies how the red, green, blue, and alpha source blending factors are computed.
- dest – Specifies how the red, green, blue, and alpha destination blending factors are computed.
-
getMaterialIndex
()¶ Returns the material’s index.
Returns: the material’s index Return type: integer
-