public static Offset <CozmoAnim.FaceAnimation> CreateFaceAnimation(FlatBufferBuilder builder, uint triggerTime_ms = 0, StringOffset animNameOffset = default(StringOffset)) { builder.StartTable(2); FaceAnimation.AddAnimName(builder, animNameOffset); FaceAnimation.AddTriggerTimeMs(builder, triggerTime_ms); return(FaceAnimation.EndFaceAnimation(builder)); }
public static FaceAnimation GetRootAsFaceAnimation(ByteBuffer _bb, FaceAnimation obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }