public MDXAnimationEvent(BinaryReader br, WarcraftVersion version) { this.EventName = new string(br.ReadChars(4)); this.Data = br.ReadUInt32(); this.Bone = br.ReadUInt32(); this.RelativePosition = br.ReadVector3(); this.RaiseEvent = br.ReadMDXTrack <bool>(version, true); }
public MDXBone(BinaryReader br, WarcraftVersion version) { this.SocketLookupTableIndex = br.ReadInt32(); this.Flags = (MDXBoneFlag)br.ReadUInt32(); this.ParentBone = br.ReadInt16(); this.SkinSectionID = br.ReadUInt16(); if (version >= WarcraftVersion.BurningCrusade) { this.DistanceToFurtherDesc = br.ReadUInt16(); this.ZRationOfBoneChain = br.ReadUInt16(); } this.Translation = br.ReadMDXTrack <Vector3>(version); this.Rotation = br.ReadMDXTrack <Quaternion>(version); this.Scale = br.ReadMDXTrack <Vector3>(version); this.PivotPoint = br.ReadVector3(); }
public MDXTextureTransform(BinaryReader br, WarcraftVersion version) { this.Translation = br.ReadMDXTrack <Vector3>(version); this.Rotation = br.ReadMDXTrack <Quaternion>(version); this.Scale = br.ReadMDXTrack <Vector3>(version); }
public MDXTextureWeight(BinaryReader br, WarcraftVersion version) { Weight = br.ReadMDXTrack <short>(version); }
public MDXColourAnimation(BinaryReader br, WarcraftVersion version) { this.ColourTrack = br.ReadMDXTrack <RGB>(version); this.OpacityTrack = br.ReadMDXTrack <short>(version); }