Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
Load shapes from an SVG file. More...
#include <ProceduralSVG.h>
Public Member Functions | |
void | parseSvgFile (MultiShape &out, const Ogre::String &fileName, const Ogre::String &groupName=Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, int segmentsNumber=8) |
Parses a SVG file. More... | |
Load shapes from an SVG file.
Example:
void Procedural::SvgLoader::parseSvgFile | ( | MultiShape & | out, |
const Ogre::String & | fileName, | ||
const Ogre::String & | groupName = Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME , |
||
int | segmentsNumber = 8 |
||
) |
Parses a SVG file.
out | MultiShape object where to store shapes from svg file |
fileName | Filename of svg file |
groupName | Resource group where svg file is listed |
segmentsNumber | Number of segments for curves |