public static Offset <CozmoAnim.LiftHeight> CreateLiftHeight(FlatBufferBuilder builder, uint triggerTime_ms = 0, uint durationTime_ms = 0, byte height_mm = 0, byte heightVariability_mm = 0) { builder.StartTable(4); LiftHeight.AddDurationTimeMs(builder, durationTime_ms); LiftHeight.AddTriggerTimeMs(builder, triggerTime_ms); LiftHeight.AddHeightVariabilityMm(builder, heightVariability_mm); LiftHeight.AddHeightMm(builder, height_mm); return(LiftHeight.EndLiftHeight(builder)); }
public static LiftHeight GetRootAsLiftHeight(ByteBuffer _bb, LiftHeight obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }