Set SLA_DIRTY_VMAP_OBJECT
-
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 -
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