internal RwFrameListNode(RwNodeFactory.RwNodeHeader header, BinaryReader reader) : base(header) { mStruct = RwNodeFactory.GetNode <RwFrameListStructNode>(this, reader); mExtensionNodes = new List <RwExtensionNode>(Count); for (int i = 0; i < Count; i++) { var extensionNode = RwNodeFactory.GetNode <RwExtensionNode>(this, reader); mStruct.FrameList[i].HAnimFrameExtensionNode = extensionNode.FindChild <RwHAnimFrameExtensionNode>(RwNodeId.RwHAnimFrameExtensionNode); mExtensionNodes.Add(extensionNode); } }
public RwFrameListNode(RwNode parent) : base(RwNodeId.RwFrameListNode, parent) { mStruct = new RwFrameListStructNode((RwNode)this); mExtensionNodes = new List <RwExtensionNode>(); }
// Constructors public RwFrameListNode(IList <RwFrame> frames, List <RwExtensionNode> extensions) : base(RwNodeId.RwFrameListNode) { mStruct = new RwFrameListStructNode(frames); mExtensionNodes = extensions; }