PxTriangleMeshEmbeddingInfo

Defined in include/PxDeformableSkinning.h

struct PxTriangleMeshEmbeddingInfo

Structure for triangle mesh skinning embedding information.

Public Functions

inline PxTriangleMeshEmbeddingInfo(const PxVec2 &uv_, PxReal offsetAlongInterpolatedNormal_, PxU32 guideTriangleId_)

Constructor for PxTriangleMeshEmbeddingInfo.

Parameters
  • uv_ – UV coordinates.

  • offsetAlongInterpolatedNormal_ – Offset along the interpolated normal.

  • guideTriangleId_ – ID of the guide triangle.

Public Members

PxVec2 uv

UV coordinates for skinning.

PxReal offsetAlongInterpolatedNormal

Offset along the interpolated normal.

PxU32 guideTriangleId

ID of the guide triangle.