HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdSkelImagingBlendShapeData Struct Reference

#include <blendShapeData.h>

Public Attributes

SdfPath primPath
 Path of deformable prim. Used only for warnings/error messages. More...
 
VtArray< GfVec4fblendShapeOffsets
 List of (offset, subShapeIndex) More...
 
VtArray< GfVec2iblendShapeOffsetRanges
 For each point, pair of indices into blendShapeOffsets. More...
 
size_t numSubShapes
 
std::map< TfToken,
UsdSkelImagingWeightsAndSubShapeIndices
blendShapeNameToWeightsAndSubShapeIndices
 

Detailed Description

Data for skinned prim to compute the skel ext computation inputs related to blend shapes. These data come from the skeleton and the skelBinding, but not from the skelAnimation.

Definition at line 59 of file blendShapeData.h.

Member Data Documentation

std::map<TfToken, UsdSkelImagingWeightsAndSubShapeIndices> UsdSkelImagingBlendShapeData::blendShapeNameToWeightsAndSubShapeIndices

For each blend shape name in SkelBindingAPI.skel:blendShapes, a list of (weight, subShapeIndex).

Includes (0.0, -1) to indicate that weight zero in SkelAnimation.blendShapeWeights corresponds to applying any sub shape from that BlendShape.

Includes (1.0, sub shape index) for the BlendShape.offsets and (weight, sub shape index) for the BlendShape.inbetweens:BETWEEN_NAME.

Definition at line 82 of file blendShapeData.h.

VtArray<GfVec2i> UsdSkelImagingBlendShapeData::blendShapeOffsetRanges

For each point, pair of indices into blendShapeOffsets.

Definition at line 67 of file blendShapeData.h.

VtArray<GfVec4f> UsdSkelImagingBlendShapeData::blendShapeOffsets

List of (offset, subShapeIndex)

Definition at line 65 of file blendShapeData.h.

size_t UsdSkelImagingBlendShapeData::numSubShapes

Definition at line 69 of file blendShapeData.h.

SdfPath UsdSkelImagingBlendShapeData::primPath

Path of deformable prim. Used only for warnings/error messages.

Definition at line 62 of file blendShapeData.h.


The documentation for this struct was generated from the following file: