Created
October 6, 2020 08:20
-
-
Save noppefoxwolf/4072966851ac8694fb9b072b0b6e031d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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