Skip to content

Instantly share code, notes, and snippets.

@noppefoxwolf
Created October 6, 2020 08:20
Show Gist options
  • Save noppefoxwolf/4072966851ac8694fb9b072b0b6e031d to your computer and use it in GitHub Desktop.
Save noppefoxwolf/4072966851ac8694fb9b072b0b6e031d to your computer and use it in GitHub Desktop.
using (var blendShapes = subsystem.GetBlendShapeCoefficients(face.trackableId, Allocator.Temp)) {
foreach (var blendShape in blendShapes) {
var location = blendShape.blendShapeLocation.ToString();
var key = new BlendShapeKey(location);
blendShapeProxy.AccumulateValue(key, blendShape.coefficient);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment