![]() |
pCon.planner Plugin SDK
Version 8.9
|
Public Member Functions | |
Material^ | GetMaterial2 (System::String^ pName) |
Retrieves a material by name. More... | |
IList< System::String^ >^ | GetAllMaterialNames () |
Retrieves all material names of the planning. More... | |
void | DeleteMaterial (System::String^ pName) |
Deletes a material. More... | |
void | ExportMatz (String^ pName, System::IO::Stream^ pStream) |
Writes MATZ description of given material to stream. More... | |
Events | |
MaterialChangedEventHandler^ | MaterialChanged [add, remove, raise] |
Raised when parameters of a material have changed. More... | |
Material Manager.
void X3g::Plugin::MaterialManager::DeleteMaterial | ( | System::String^ | pName) |
Deletes a material.
Each entity of that material will have the global material afterwards.
void X3g::Plugin::MaterialManager::ExportMatz | ( | String^ | pName, |
System::IO::Stream^ | pStream | ||
) |
Writes MATZ description of given material to stream.
IList< System::String^ > X3g::Plugin::MaterialManager::GetAllMaterialNames | ( | ) |
Retrieves all material names of the planning.
Material X3g::Plugin::MaterialManager::GetMaterial2 | ( | System::String^ | pName) |
Retrieves a material by name.
Returns null if material doesn't exist.
|
addremoveraise |
Raised when parameters of a material have changed.