Message 1 of 2
Assigning materials to components of custom MPxComponentShape?

Not applicable
02-11-2012
05:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there! I've created a custom MPxComponentShape-derived shape in Maya, and I have drawing and component selection all working. Now I'd like to be able to assign materials to my kMeshPolygonComponent component selections. I'm not really sure how to go about this though. I imagine I need to create an output array attribute that holds my "faces", but what type etc do I need to make this so that Maya will allow me to assign materials to my "faces"?
Is this even possible using the API?
Is this even possible using the API?