Page MenuHome

BGE: remove outdated doc of KX_PolygonMaterial, update doc of KX_BlenderMaterial
ClosedPublic

Authored by Quentin Wenger (Matpi) on Jun 16 2015, 12:20 AM.

Details

Summary

This patch suppresses the outdated KX_PolygonMaterial.rst documentation file and moves the example contained in it into KX_BlenderMaterial.rst.
The file KX_BlenderMaterial.rst receives some extra formatting changes (lists are not supported in methods arguments types).

Diff Detail

Repository
rB Blender

Event Timeline

Quentin Wenger (Matpi) retitled this revision from to BGE: remove outdated doc of KX_PolygonMaterial, update doc of KX_BlenderMaterial.
Quentin Wenger (Matpi) updated this object.

Format setBlending() arguments types in vertical lists.

Porteries Tristan (panzergame) requested changes to this revision.Jun 17 2015, 2:33 PM
Porteries Tristan (panzergame) edited edge metadata.
Porteries Tristan (panzergame) added inline comments.
doc/python_api/rst/bge_types/bge.types.KX_BlenderMaterial.rst
23

iirc ftransform is a deprecated function in GLSL. it should be :
gl_ProjectionMatrix * gl_ModelViewMatrix * gl_Vertex

46

ehh, it's redundant.

This revision now requires changes to proceed.Jun 17 2015, 2:33 PM
doc/python_api/rst/bge_types/bge.types.KX_BlenderMaterial.rst
96–126

it's not better "one of :" instead of "one of…" ?

Quentin Wenger (Matpi) edited edge metadata.

Modernize example; small tweakings.

Porteries Tristan (panzergame) edited edge metadata.

Looks good to mes.

This revision is now accepted and ready to land.Jun 17 2015, 3:30 PM
Quentin Wenger (Matpi) edited edge metadata.

Improve the example a bit and add a description to it.

Fix bug in example.

doc/python_api/rst/bge_types/bge.types.KX_BlenderMaterial.rst
61

it should be texture_0

Make comment in the example more precise.

Mitchell Stokes (moguri) edited edge metadata.

Looks good to me.

This revision was automatically updated to reflect the committed changes.