0.44.0
|
Functions | |
void | addPlane (iMeshBuilder &meshBuilder, float32 width, float32 depth, uint32 segmentsX, uint32 segmentsZ, bool normals) |
void | addSphere (iMeshBuilder &meshBuilder, float32 radius, uint32 segments) |
void | addCylinder (iMeshBuilder &meshBuilder, float32 radius, float32 height, uint32 segments, bool hasCaps) |
void | addBox (iMeshBuilder &meshBuilder, float32 width, float32 height, float32 depth) |
void | addCone (iMeshBuilder &meshBuilder, float32 radius, float32 height, uint32 segments) |
void | addCircle (iMeshBuilder &meshBuilder, float32 radius, uint32 segments) |
void | addRing (iMeshBuilder &meshBuilder, float32 innerRadius, float32 outerRadius, uint32 segments) |
void | addMesh (iMeshBuilder &meshBuilder, const iMeshPtr mesh) |
void IGOR_API igor::iMeshBuilderUtils::addBox | ( | iMeshBuilder & | meshBuilder, |
float32 | width, | ||
float32 | height, | ||
float32 | depth | ||
) |
adds a box to the given mesh builder instance
meshBuilder | the given mesh builder instance |
width | width of the box |
height | height of the box |
depth | depth of the box |
void IGOR_API igor::iMeshBuilderUtils::addCircle | ( | iMeshBuilder & | meshBuilder, |
float32 | radius, | ||
uint32 | segments = 16 |
||
) |
adds a circle to the given mesh builder instance
meshBuilder | the given mesh builder instance |
radius | the radius of the circle |
segments | the segment count of the circle |
void IGOR_API igor::iMeshBuilderUtils::addCone | ( | iMeshBuilder & | meshBuilder, |
float32 | radius, | ||
float32 | height, | ||
uint32 | segments = 16 |
||
) |
adds a cone to the given mesh builder instance
meshBuilder | the given mesh builder instance |
radius | the radius of the cones base |
height | the height of the cone |
segments | the segment count of the cone |
void IGOR_API igor::iMeshBuilderUtils::addCylinder | ( | iMeshBuilder & | meshBuilder, |
float32 | radius, | ||
float32 | height, | ||
uint32 | segments = 16 , |
||
bool | hasCaps = true |
||
) |
adds a cylinder to the given mesh builder instance
meshBuilder | the given mesh builder instance |
radius | the radius of the cylinder |
height | the height of the cylinder |
segments | the segment count of the cylinder |
hasCaps | if true the cylinder will have caps on top and bottom |
void IGOR_API igor::iMeshBuilderUtils::addMesh | ( | iMeshBuilder & | meshBuilder, |
const iMeshPtr | mesh | ||
) |
adds a mesh to the mesh builder
meshBuilder | the given mesh builder instance |
mesh | the mesh to be added |
void IGOR_API igor::iMeshBuilderUtils::addPlane | ( | iMeshBuilder & | meshBuilder, |
float32 | width, | ||
float32 | depth, | ||
uint32 | segmentsX = 16 , |
||
uint32 | segmentsZ = 16 , |
||
bool | normals = true |
||
) |
adds a plane to the given mesh builder instance
the plane is centered at the origin facing up
meshBuilder | the given mesh builder instance |
width | the width along the x axis |
depth | the depth along the z axis |
segmentsX | the segment count along the x axis |
segmentsZ | the segment count along the z axis |
normals | if true add normals |
void IGOR_API igor::iMeshBuilderUtils::addRing | ( | iMeshBuilder & | meshBuilder, |
float32 | innerRadius, | ||
float32 | outerRadius, | ||
uint32 | segments = 16 |
||
) |
adds a ring to the given mesh builder instance
meshBuilder | the given mesh builder instance |
innerRadius | the inner radius of the ring |
outerRadius | the outer radius of the ring |
segments | the segment count of the ring |
void IGOR_API igor::iMeshBuilderUtils::addSphere | ( | iMeshBuilder & | meshBuilder, |
float32 | radius, | ||
uint32 | segments = 16 |
||
) |
adds a sphere to the given mesh builder instance
meshBuilder | the given mesh builder instance |
radius | the radius of the cylinder |
segments | the segment count of the cylinder |