//---------------------------------------------------------------------------- void Controller::Link (Stream& rkStream, Stream::Link* pkLink) { Object::Link(rkStream,pkLink); Object* pkLinkID = pkLink->GetLinkID(); m_pkObject = rkStream.GetFromMap(pkLinkID); pkLinkID = pkLink->GetLinkID(); m_spkNext = (Controller*)rkStream.GetFromMap(pkLinkID); }
//---------------------------------------------------------------------------- void LightNode::Link (Stream& rkStream, Stream::Link* pkLink) { Node::Link(rkStream,pkLink); Object* pkLinkID = pkLink->GetLinkID(); m_spkLight = (Light*)rkStream.GetFromMap(pkLinkID); }
//---------------------------------------------------------------------------- void Texture::Link (Stream& rkStream, Stream::Link* pkLink) { Object::Link(rkStream,pkLink); Object* pkLinkID = pkLink->GetLinkID(); m_spkImage = (Image*)rkStream.GetFromMap(pkLinkID); }
//---------------------------------------------------------------------------- void Object::Link (Stream& rkStream, Stream::Link* pkLink) { Object* pkLinkID = pkLink->GetLinkID(); m_spkControl = (Controller*)rkStream.GetFromMap(pkLinkID); }