Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Set SLA_DIRTY_VMAP_OBJECT

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 204 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 28/08/2011 at 20:41, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   12 
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hy there,

      I have a pointer to a VertexMapTag and to a BaseShader (which is an Xvertexmap). How can I set the VertexMapTag as the new link in the Shader?

      Thank you,
      maxx

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 29/08/2011 at 06:36, xxxxxxxx wrote:

        Never mind, figured this one out:

          
        BaseContainer *bc = shader->GetDataInstance();  
        GeData geda;  
        bc->GetParameter(SLA_DIRTY_VMAP_OBJECT,geda);  
        BaseLink *blp = geda.GetBaseLink();  
        //Set the new Link  
        blp->SetLink(vxTag);  
        

        Cheers,
        maxx

        1 Reply Last reply Reply Quote 0
        • First post
          Last post