Notifications
Clear all
[Closed] 3ds Max SDK – Atmospheric Effect
May 18, 2016 6:33 pm
Using the 3ds Max sdk how can i collect all the atmospheric effects?
because i essentially want to loop through all the atmospheric effects and get their names using the c++ sdk.
virtual MSTR GetName ()
virtual BOOL Active (TimeValue t)
2 Replies
May 18, 2016 6:33 pm
untested
std::vector<MSTR> names;
Interface* ip = GetCOREInterface();
for (int i = 0; i < ip->NumAtmospheric(); i++)
{
names.push_back(ip->GetAtmospheric(i)->GetName());
}