PxLineStripSkinnedVertex

Defined in include/PxLineStripSkinning.h

struct PxLineStripSkinnedVertex

Specifies the position and binding of a point relative to a line strip such that the point moves with the line during simulation.

Public Functions

inline PxLineStripSkinnedVertex()
inline PxLineStripSkinnedVertex(const PxVec3 &position, PxU32 segmentId, PxReal segmentLocation)

Public Members

PxVec3 mPosition

The position of the vertex that should move with a line strip. Expressed in the same coordinate system as the line strip points when computing the skinning.

PxU32 mSegmentId

The id of the vertex at the beginning of the line segment to which this point is connected.

PxReal mSegmentLocation

Parameter in the range 0…1 that specifies the location on the segment where the base coordinate system gets evaluated at runtime to update the skinned position.