pack method

  1. @override
int pack(
  1. Builder fbBuilder
)
override

Serialize the object using the given builder, returning the offset.

Implementation

@override
int pack(fb.Builder fbBuilder) {
  color.pack(fbBuilder);
  textureCoords.pack(fbBuilder);
  normal.pack(fbBuilder);
  position.pack(fbBuilder);
  return fbBuilder.offset;
}