Replacements
The MAXON API is the base for all future development of Cinema 4D . It will replace more and more elements of the classic API new functions and classes.
Plugins that were written for an older version of the SDK must adapt the source code by replacing old classes with new MAXON API classes.
Class | Replacement |
---|---|
AutoNew/AutoPtr | New reference system e.g. maxon::UniqueRef |
AutoLocker/AutoRWLocker/AutoRWLock | maxon::ScopedLock |
AutoSpinLock | maxon::ScopedLock |
BigInteger | maxon::BigInteger |
FileMonitor | maxon::FileMonitor |
GeDynamicArray | maxon::BaseArray |
GeRWSpinlock | maxon::RWSpinlock |
GeSignal | maxon::ConditionVariableInterface |
GeSortAndSearchEx | maxon::BaseSort |
GeSpinlock | maxon::Spinlock |
矩阵 | maxon::Matrix |
Network classes/functions | New network.framework |
MPAlloc/MPThreadPool | maxon::ParallelFor |
SecureRandom | maxon::SecureRandom |
Semaphore | maxon::Spinlock |
SendMailAvailable()/SendMail() | maxon::SmtpMailInterface |
向量 | maxon::Vector |
另请参阅 API 过渡 , Changes in R20 and API Change List in R20 .
Class/Function | Replacement |
---|---|
SNHook | No replacement |
GeGetSerialInfo() | GetGeneralLicensingInformation() |
另请参阅 Changes in R21 and API Change List in R21 .