public static Offset <RolePos> CreateRolePos(FlatBufferBuilder builder, VectorOffset posOffset = default(VectorOffset), float rotate = 0.0f) { builder.StartObject(2); RolePos.AddRotate(builder, rotate); RolePos.AddPos(builder, posOffset); return(RolePos.EndRolePos(builder)); }
public static RolePos GetRootAsRolePos(ByteBuffer _bb, RolePos obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public RolePos GetRolePos(RolePos obj) { int o = __offset(28); return(o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null); }