Esempio n. 1
0
 public DecoratorProjectedDecalBlock(BinaryReader binaryReader)
 {
     this.decoratorSet = binaryReader.ReadByteBlockIndex1();
     this.decoratorClass = binaryReader.ReadByte();
     this.decoratorPermutation = binaryReader.ReadByte();
     this.spriteIndex = binaryReader.ReadByte();
     this.position = binaryReader.ReadVector3();
     this.left = binaryReader.ReadVector3();
     this.up = binaryReader.ReadVector3();
     this.extents = binaryReader.ReadVector3();
     this.previousPosition = binaryReader.ReadVector3();
 }
Esempio n. 2
0
 public DecoratorGroupBlock(BinaryReader binaryReader)
 {
     this.decoratorSet = binaryReader.ReadByteBlockIndex1();
     this.decoratorType = (DecoratorType)binaryReader.ReadByte();
     this.shaderIndex = binaryReader.ReadByte();
     this.compressedRadius = binaryReader.ReadByte();
     this.cluster = binaryReader.ReadInt16();
     this.cacheBlock = binaryReader.ReadShortBlockIndex1();
     this.decoratorStartIndex = binaryReader.ReadInt16();
     this.decoratorCount = binaryReader.ReadInt16();
     this.vertexStartOffset = binaryReader.ReadInt16();
     this.vertexCount = binaryReader.ReadInt16();
     this.indexStartOffset = binaryReader.ReadInt16();
     this.indexCount = binaryReader.ReadInt16();
     this.compressedBoundingCenter = binaryReader.ReadInt32();
 }