public static Offset <FaceAnimation> CreateFaceAnimation(FlatBufferBuilder builder, uint triggerTime_ms = 0, StringOffset animNameOffset = default(StringOffset), float scanlineOpacity = 1.0f) { builder.StartObject(3); FaceAnimation.AddScanlineOpacity(builder, scanlineOpacity); 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)); }