#include <NvBlastExtAuthoringCutout.h>
Public Member Functions | |
| virtual uint32_t | getCutoutCount () const =0 |
| virtual uint32_t | getCutoutLoopCount (uint32_t cutoutIndex) const =0 |
| virtual const physx::PxVec3 & | getCutoutVertex (uint32_t cutoutIndex, uint32_t loopIndex, uint32_t vertexIndex) const =0 |
| virtual uint32_t | getCutoutVertexCount (uint32_t cutoutIndex, uint32_t loopIndex) const =0 |
| virtual const physx::PxVec2 & | getDimensions () const =0 |
| virtual bool | isCutoutVertexToggleSmoothingGroup (uint32_t cutoutIndex, uint32_t loopIndex, uint32_t vertexIndex) const =0 |
| virtual bool | isPeriodic () const =0 |
| virtual void | release ()=0 |
Protected Member Functions | |
| virtual | ~CutoutSet () |
Each cutout is a 2D entity, meant to be projected onto various faces of a mesh. They are represented by a set of 2D vertices, which form closed loops. More than one loop may represent a single cutout, if the loops are forced to be convex. Otherwise, a cutout is represented by a single loop.
| virtual Nv::Blast::CutoutSet::~CutoutSet | ( | ) | [inline, protected, virtual] |
Protected destructor. Use the release() method.
| virtual uint32_t Nv::Blast::CutoutSet::getCutoutCount | ( | ) | const [pure virtual] |
Returns the number of cutouts in the set.
| virtual uint32_t Nv::Blast::CutoutSet::getCutoutLoopCount | ( | uint32_t | cutoutIndex | ) | const [pure virtual] |
Applies to the cutout indexed by cutoutIndex: Returns the number of loops in this cutout.
| virtual const physx::PxVec3& Nv::Blast::CutoutSet::getCutoutVertex | ( | uint32_t | cutoutIndex, | |
| uint32_t | loopIndex, | |||
| uint32_t | vertexIndex | |||
| ) | const [pure virtual] |
Applies to the cutout indexed by cutoutIndex: Returns the vertex indexed by vertexIndex. (Only the X and Y coordinates are used.)
| virtual uint32_t Nv::Blast::CutoutSet::getCutoutVertexCount | ( | uint32_t | cutoutIndex, | |
| uint32_t | loopIndex | |||
| ) | const [pure virtual] |
Applies to the cutout indexed by cutoutIndex: Returns the number of vertices in the cutout.
| virtual const physx::PxVec2& Nv::Blast::CutoutSet::getDimensions | ( | ) | const [pure virtual] |
The dimensions of the fracture map used to create the cutout set.
| virtual bool Nv::Blast::CutoutSet::isCutoutVertexToggleSmoothingGroup | ( | uint32_t | cutoutIndex, | |
| uint32_t | loopIndex, | |||
| uint32_t | vertexIndex | |||
| ) | const [pure virtual] |
If smoothing group should be changed for adjacent to this vertex faces return true
| virtual bool Nv::Blast::CutoutSet::isPeriodic | ( | ) | const [pure virtual] |
Whether or not this cutout set is to be tiled.
| virtual void Nv::Blast::CutoutSet::release | ( | ) | [pure virtual] |
Serialization Releases all memory and deletes itself.