AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
平台应用程序 更多...
Public 成员函数 | |
bool | SetLogFileName (Path^ fileName) |
bool | AddLicense (String^ aa, String^ bb, String^ cc, String^ dd) |
bool | Initialize () |
bool | Initialize (String^ configFile) |
void | Destroy () |
StringList^ | ListSkyBoxNames () |
void | SetApplicationPath (Path^ strPath) |
Path^ | GetApplicationPath () |
void | SetTextureLibraryPath (Path^ strPath) |
void | SetModelLibraryPath (Path^ strPath) |
Path^ | GetModelLibraryPath () |
Renderer^ | CreateRenderer (long hWnd, int nWidth, int nHeight) |
View3d^ | CreateView (long hWnd, int nWidth, int nHeight) |
PhongMaterial^ | FindSystemMaterial (String^ name) |
ParameterValue^ | GetInput (String^ desc, ParameterValue^ defaltValue) |
bool | WaitForEventLoop (long loopId) |
void | ExitEventLoop (long loopId, bool done) |
void | LogMessage (String^ msg) |
平台应用程序
程序全局的方法
bool AnyCAD::Platform::Application::AddLicense | ( | String^ | aa, |
String^ | bb, | ||
String^ | cc, | ||
String^ | dd | ||
) |
设置程序注册信息. 内部使用。
Renderer ^ AnyCAD::Platform::Application::CreateRenderer | ( | long | hWnd, |
int | nWidth, | ||
int | nHeight | ||
) |
View3d ^ AnyCAD::Platform::Application::CreateView | ( | long | hWnd, |
int | nWidth, | ||
int | nHeight | ||
) |
void AnyCAD::Platform::Application::Destroy | ( | ) |
销毁平台程序,释放资源.
void AnyCAD::Platform::Application::ExitEventLoop | ( | long | loopId, |
bool | done | ||
) |
Exit the event loop.
loopId | the id. |
done | false if aborted. |
PhongMaterial ^ AnyCAD::Platform::Application::FindSystemMaterial | ( | String^ | name | ) |
Find system material
name | the material name. |
Path ^ AnyCAD::Platform::Application::GetApplicationPath | ( | ) |
获取程序集的目录
ParameterValue ^ AnyCAD::Platform::Application::GetInput | ( | String^ | desc, |
ParameterValue^ | defaltValue | ||
) |
Path ^ AnyCAD::Platform::Application::GetModelLibraryPath | ( | ) |
Get Model Library Path
bool AnyCAD::Platform::Application::Initialize | ( | ) |
初始化平台.
bool AnyCAD::Platform::Application::Initialize | ( | String^ | configFile | ) |
使用配置文件初始化平台.
configFile | the config file name |
StringList ^ AnyCAD::Platform::Application::ListSkyBoxNames | ( | ) |
List all the skybox names
void AnyCAD::Platform::Application::LogMessage | ( | String^ | msg | ) |
Log the message.
msg | the message string. |
void AnyCAD::Platform::Application::SetApplicationPath | ( | Path^ | strPath | ) |
设置程序集的目录
strPath | the folder without postfix '/' |
bool AnyCAD::Platform::Application::SetLogFileName | ( | Path^ | fileName | ) |
设置日志文件名.
fileName | the file name. |
void AnyCAD::Platform::Application::SetModelLibraryPath | ( | Path^ | strPath | ) |
void AnyCAD::Platform::Application::SetTextureLibraryPath | ( | Path^ | strPath | ) |
bool AnyCAD::Platform::Application::WaitForEventLoop | ( | long | loopId | ) |
Wait for the event loop.
loopId | the id. |