Loading...
Searching...
No Matches
UsdSkelImagingWeightAndSubShapeIndex Struct Reference

Data to determine sub shape contributions. More...

#include <blendShapeData.h>

Public Attributes

float weight
 Weight authored for BlendShape.inbetweens:BETWEEN_NAME.
 
int subShapeIndex
 Index to sub shape. -1 if this pair does not correspond to a sub shape.
 

Detailed Description

Data to determine sub shape contributions.

Sub shape:

A sub shape consists of offsets for a subset of points or all points of a deformable prim with SkelBindingAPI.

The offsets ultimately applied to the prim are computed as linear combination of the sub shapes.

Sub shapes come from the BlendShape prim's targeted by the deformable prim. Each BlendShape can provide several subshapes: one from BlendShape.offsets and several from BlendShape.inbetweens:BETWEEN_NAME:offsets.

Definition at line 39 of file blendShapeData.h.

Member Data Documentation

◆ subShapeIndex

int subShapeIndex

Index to sub shape. -1 if this pair does not correspond to a sub shape.

Definition at line 50 of file blendShapeData.h.

◆ weight

float weight

Weight authored for BlendShape.inbetweens:BETWEEN_NAME.

weight = 1.0 for the sub shape corresponding to a BlendShape.offsets.

If weight = 0.0, this pair does not correspond to any sub shape and subShapeIndex = -1.

Definition at line 47 of file blendShapeData.h.


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