public virtual void ReadFromFile(BinaryReader reader) { name = new Hash(reader); unk0 = reader.ReadInt32(); transformMatrix = new TransformMatrix(reader); unk3 = reader.ReadInt16(); parentIndex1 = new ParentStruct(reader.ReadInt32()); parentIndex2 = new ParentStruct(reader.ReadInt32()); unk6 = reader.ReadInt16(); UpdateNode(); }
public FrameObjectBase() : base() { //do example name. name = new Hash(); name.Set("NewObject"); unk0 = 1; transformMatrix = new TransformMatrix(); unk3 = -1; parentIndex1 = new ParentStruct(-1); parentIndex2 = new ParentStruct(-1); unk6 = -1; UpdateNode(); }