-------------------------------- -- @module PolygonInfo -- @parent_module cc -------------------------------- -- get sum of all triangle area size
-- return sum of all triangle area size -- @function [parent=#PolygonInfo] getArea -- @param self -- @return float#float ret (return value: float) -------------------------------- -- get vertex count
-- return number of vertices -- @function [parent=#PolygonInfo] getVertCount -- @param self -- @return unsigned int#unsigned int ret (return value: unsigned int) -------------------------------- -- get triangles count
-- return number of triangles -- @function [parent=#PolygonInfo] getTrianglesCount -- @param self -- @return unsigned int#unsigned int ret (return value: unsigned int) -------------------------------- -- set the data to be a pointer to a quad
-- the member verts will not be released when this PolygonInfo destructs
-- as the verts memory are managed by other objects
-- param quad a pointer to the V3F_C4B_T2F_Quad object -- @function [parent=#PolygonInfo] setQuad -- @param self -- @param #cc.V3F_C4B_T2F_Quad quad -- @return PolygonInfo#PolygonInfo self (return value: cc.PolygonInfo) -------------------------------- -- set the data to be a pointer to a triangles
-- the member verts will not be released when this PolygonInfo destructs
-- as the verts memory are managed by other objects
-- param triangles a pointer to the TrianglesCommand::Triangles object -- @function [parent=#PolygonInfo] setTriangles -- @param self -- @param #cc.TrianglesCommand::Triangles triangles -- @return PolygonInfo#PolygonInfo self (return value: cc.PolygonInfo) -------------------------------- -- / @name Creators/ @{
-- Creates an empty Polygon info
-- memberof PolygonInfo
-- return PolygonInfo object -- @function [parent=#PolygonInfo] PolygonInfo -- @param self -- @return PolygonInfo#PolygonInfo self (return value: cc.PolygonInfo) return nil