Example #1
0
 public static Offset <AnimClip> CreateAnimClip(FlatBufferBuilder builder,
                                                StringOffset NameOffset            = default(StringOffset),
                                                Offset <Keyframes> keyframesOffset = default(Offset <Keyframes>))
 {
     builder.StartObject(2);
     AnimClip.AddKeyframes(builder, keyframesOffset);
     AnimClip.AddName(builder, NameOffset);
     return(AnimClip.EndAnimClip(builder));
 }
Example #2
0
 public static AnimClip GetRootAsAnimClip(ByteBuffer _bb, AnimClip obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }