1 // This file has been generated by Py++. 2 3 #include "boost/python.hpp" 4 #include "generators/include/python_CEGUI.h" 5 #include "Vertex.pypp.hpp" 6 7 namespace bp = boost::python; 8 register_Vertex_class()9void register_Vertex_class(){ 10 11 { //::CEGUI::Vertex 12 typedef bp::class_< CEGUI::Vertex > Vertex_exposer_t; 13 Vertex_exposer_t Vertex_exposer = Vertex_exposer_t( "Vertex" ); 14 bp::scope Vertex_scope( Vertex_exposer ); 15 Vertex_exposer.def_readwrite( "colour_val", &CEGUI::Vertex::colour_val, "! Texture co-ords to be applied to the vertex.\n\ 16 ! colour to be applied to the vertex.\n" ); 17 Vertex_exposer.def_readwrite( "position", &CEGUI::Vertex::position, "! Position of the vertex in 3D space.\n" ); 18 Vertex_exposer.def_readwrite( "tex_coords", &CEGUI::Vertex::tex_coords, "! Position of the vertex in 3D space.\n\ 19 ! Texture co-ords to be applied to the vertex.\n" ); 20 } 21 22 } 23