Method BakeVertexAttributes
BakeVertexAttributes(OccurrenceList, OccurrenceList, bool, bool, bool)
Bake vertex attributes on meshes from other meshes
Declaration
public void BakeVertexAttributes(OccurrenceList destinationOccurrences, OccurrenceList sourceOccurrences, bool skinnedMesh, bool positions, bool useCurrentPositionAsTPose = false)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | destinationOccurrences | Occurrences of the meshes where to store the baked vertex attributes |
OccurrenceList | sourceOccurrences | Occurrences of components from which to bake vertex attributes |
bool | skinnedMesh | Enabling skinned mesh baking (joint assignation for animation transfer) |
bool | positions | Enabling vertex position baking |
bool | useCurrentPositionAsTPose | Use the current position as the T-Pose |