extensions/authoring/NvBlastExtAuthoring.h
In directory: extensions/authoring
Source file: extensions/authoring/NvBlastExtAuthoring.h
Defines the API for the NvBlastExtAuthoring blast sdk extension.
Macros
Functions
NvBlastExtAuthoringBuildCutoutSet(Nv::Blast::CutoutSet &cutoutSet, const uint8_t *pixelBuffer, uint32_t bufferWidth, uint32_t bufferHeight, float segmentationErrorThreshold, float snapThreshold, bool periodic, bool expandGaps): Builds a cutout set (which must have been initially created by createCutoutSet()).
NvBlastExtAuthoringBuildMeshConvexDecomposition(Nv::Blast::ConvexMeshBuilder *cmb, const Nv::Blast::Triangle *mesh, uint32_t triangleCount, const Nv::Blast::ConvexDecompositionParams ¶ms, Nv::Blast::CollisionHull **&convexes): Build convex mesh decomposition.
NvBlastExtAuthoringCreateBBoxBasedAccelerator(uint32_t resolution, const Nv::Blast::Mesh *m): Create BBoxBasedAccelerator - SpatialAccelerator which uses a bbox/grid algorithm.
NvBlastExtAuthoringCreateBondGenerator(Nv::Blast::ConvexMeshBuilder *builder): Create BlastBondGenerator.
NvBlastExtAuthoringCreateBooleanTool(): Create BooleanTool object.
NvBlastExtAuthoringCreateCutoutSet(): Instantiates a blank CutoutSet.
NvBlastExtAuthoringCreateFractureTool(): Create FractureTool object.
NvBlastExtAuthoringCreateGridAccelerator(Nv::Blast::SpatialGrid *parent): Create GridAccelerator - SpatialAccelerator which use Grid for faster mesh sampling.
NvBlastExtAuthoringCreateMesh(const NvcVec3 *positions, const NvcVec3 *normals, const NvcVec2 *uv, uint32_t verticesCount, const uint32_t *indices, uint32_t indicesCount): Constructs mesh object from array of triangles.
NvBlastExtAuthoringCreateMeshCleaner(): Creates MeshCleaner object.
NvBlastExtAuthoringCreateMeshFromFacets(const void *vertices, const void *edges, const void *facets, uint32_t verticesCount, uint32_t edgesCount, uint32_t facetsCount): Constructs mesh object from array of vertices, edges and facets.
NvBlastExtAuthoringCreateMeshOnlyTriangles(const void *vertices, uint32_t verticesCount, uint32_t *indices, uint32_t indexCount, void *materials=nullptr, uint32_t materialStride=4): Constructs mesh object from triangles represented as arrays of vertices, indices and per facet material.
NvBlastExtAuthoringCreatePatternGenerator(): Returns pattern generator used for generating fracture patterns.
NvBlastExtAuthoringCreateSpatialGrid(uint32_t resolution, const Nv::Blast::Mesh *m): Create spatial grid for mesh.
NvBlastExtAuthoringCreateSweepingAccelerator(const Nv::Blast::Mesh *m): Create SweepingAccelerator - SpatialAccelerator which uses a sweep algorithm.
NvBlastExtAuthoringCreateVoronoiSitesGenerator(Nv::Blast::Mesh *mesh, Nv::Blast::RandomGeneratorBase *rng): Voronoi sites should not be generated outside of the fractured mesh, so VoronoiSitesGenerator should be supplied with fracture mesh.
NvBlastExtAuthoringFindAssetConnectingBonds(const NvBlastAsset **components, const NvcVec3 *scales, const NvcQuat *rotations, const NvcVec3 *translations, const uint32_t **convexHullOffsets, const Nv::Blast::CollisionHull ***chunkHulls, uint32_t componentCount, NvBlastExtAssetUtilsBondDesc *&newBondDescs, float maxSeparation=0.0f): Finds bonds connecting chunks in a list of assets.
NvBlastExtAuthoringProcessFracture(Nv::Blast::FractureTool &fTool, Nv::Blast::BlastBondGenerator &bondGenerator, Nv::Blast::ConvexMeshBuilder &collisionBuilder, const Nv::Blast::ConvexDecompositionParams &collisionParam, int32_t defaultSupportDepth=-1): Performs pending fractures and generates fractured asset, render and collision geometry.
NvBlastExtAuthoringReleaseAuthoringResult(Nv::Blast::ConvexMeshBuilder &collisionBuilder, Nv::Blast::AuthoringResult *ar): Releases AuthoringResult data.
NvBlastExtAuthoringReleaseAuthoringResultCollision(Nv::Blast::ConvexMeshBuilder &collisionBuilder, Nv::Blast::AuthoringResult *ar): Releases collision data for AuthoringResult.
NvBlastExtAuthoringTransformCollisionHull(const Nv::Blast::CollisionHull *hull, const NvcVec3 *scaling, const NvcQuat *rotation, const NvcVec3 *translation): Transforms collision hull in place using scale, rotation, transform.
NvBlastExtAuthoringTransformCollisionHullInPlace(Nv::Blast::CollisionHull *hull, const NvcVec3 *scaling, const NvcQuat *rotation, const NvcVec3 *translation): Transforms collision hull in place using scale, rotation, transform.
NvBlastExtAuthoringTrimCollisionGeometry(Nv::Blast::ConvexMeshBuilder *cmb, uint32_t chunksCount, Nv::Blast::CollisionHull **in, const uint32_t *chunkDepth): Convex geometry trimming.
NvBlastExtAuthoringUpdateGraphicsMesh(Nv::Blast::FractureTool &fTool, Nv::Blast::AuthoringResult &ares): Updates graphics mesh only.
Namespaces