public override void Read(HKX hkx, HKXSection section, HKXObject source, BinaryReaderEx br, HKXVariation variation) { Position = new HKVector4(); Position.Read(hkx, section, source, br, variation); Rotation = new HKVector4(); Rotation.Read(hkx, section, source, br, variation); Scale = new HKVector4(); Scale.Read(hkx, section, source, br, variation); }
public override void Read(HKX hkx, HKXSection section, HKXObject source, BinaryReaderEx br, HKXVariation variation) { // Just get what we are interested in //AssertPointer(hkx, br); ShapeReference = source.ResolveGlobalReference(hkx, section, br); br.ReadUInt32(); br.ReadUInt32(); br.ReadUInt16(); br.ReadUInt16(); br.ReadUInt32(); br.ReadUInt32(); br.ReadUInt32(); AssertPointer(hkx, br); br.ReadUInt64(); Position.Read(hkx, section, source, br, variation); Orientation.Read(hkx, section, source, br, variation); br.ReadUInt64(); AssertPointer(hkx, br); }