public void Load(DataStreamPtr reader) { attach = MBOgreUtil.LoadInt32(reader); if (!string.IsNullOrEmpty(MBOgreUtil.LoadStringMaybe(reader, "bone"))) { b = MBOgreUtil.LoadInt32(reader); } x = MBOgreUtil.LoadPoint3F(reader); y = MBOgreUtil.LoadPoint3F(reader); z = MBOgreUtil.LoadPoint3F(reader); t = MBOgreUtil.LoadPoint3F(reader); }
public void Load(DataStreamPtr reader) { name = MBOgreUtil.LoadString(reader); flags = MBOgreUtil.LoadUInt32(reader); shader = MBOgreUtil.LoadString(reader); diffuseA = MBOgreUtil.LoadString(reader); diffuseB = MBOgreUtil.LoadString(reader); bump = MBOgreUtil.LoadString(reader); enviro = MBOgreUtil.LoadString(reader); spec = MBOgreUtil.LoadStringMaybe(reader, "none"); specular = MBOgreUtil.LoadFloat(reader); r = MBOgreUtil.LoadFloat(reader); g = MBOgreUtil.LoadFloat(reader); b = MBOgreUtil.LoadFloat(reader); }