THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/02/2003 at 15:06, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Mac OSX ;
Language(s) : C++ ;
---------
Given a BaseMaterial, I am iterating through the channels on a BaseMaterial and executing this:
for ( i = 0; i < theChannelIndex; i ++ )
{
BaseChannel* baseChannelPtr = inC4dMaterial->GetChannel( i );
BaseBitmap* theChannelBitmap = baseChannelPtr->GetBitmap();
if ( theChannelBitmap != NULL)
{
//code here
}
}
I'm going through all the channels and the Real/LONG data is coming fine in the channel, but I am always getting NULL when trying GetBitmap on that channel.
Anything special I need to do or am not doing?
Thanks in advance,
Eric