public static Offset <FBQuaternion> CreateFBQuaternion(FlatBufferBuilder builder, float x = 0.0f, float y = 0.0f, float z = 0.0f, float w = 0.0f) { builder.StartObject(4); FBQuaternion.AddW(builder, w); FBQuaternion.AddZ(builder, z); FBQuaternion.AddY(builder, y); FBQuaternion.AddX(builder, x); return(FBQuaternion.EndFBQuaternion(builder)); }
public static FBQuaternion GetRootAsFBQuaternion(ByteBuffer _bb, FBQuaternion obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }