public static Offset <AnimationRef> CreateAnimationRef(FlatBufferBuilder builder, StringOffset NameOffset = default(StringOffset), StringOffset FileOffset = default(StringOffset)) { builder.StartObject(2); AnimationRef.AddFile(builder, FileOffset); AnimationRef.AddName(builder, NameOffset); return(AnimationRef.EndAnimationRef(builder)); }
public static AnimationRef GetRootAsAnimationRef(ByteBuffer _bb, AnimationRef obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }