internal ShaderAnimationPropertyBlockBase(BinaryReader binaryReader)
 {
     this.type          = (Type)binaryReader.ReadInt16();
     this.invalidName_  = binaryReader.ReadBytes(2);
     this.inputName     = binaryReader.ReadStringID();
     this.rangeName     = binaryReader.ReadStringID();
     this.timePeriodSec = binaryReader.ReadSingle();
     this.function      = new MappingFunctionBlock(binaryReader);
 }
 internal ObjectFunctionBlockBase(BinaryReader binaryReader)
 {
     this.flags           = (Flags)binaryReader.ReadInt32();
     this.importName      = binaryReader.ReadStringID();
     this.exportName      = binaryReader.ReadStringID();
     this.turnOffWith     = binaryReader.ReadStringID();
     this.minValue        = binaryReader.ReadSingle();
     this.defaultFunction = new MappingFunctionBlock(binaryReader);
     this.scaleBy         = binaryReader.ReadStringID();
 }
Пример #3
0
 internal ScalarFunctionStructBlockBase(BinaryReader binaryReader)
 {
     this.function = new MappingFunctionBlock(binaryReader);
 }