This one, yes you do. Not all cakes use gelatine though. For instance, this Tim Tam cheesecake uses chocolate or this easy baked cheesecake is set by baking with eggs.