pCon.planner Plugin SDK  Version 8.9
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | Events | List of all members
X3g::Plugin::MaterialManager Class Reference

Material Manager. More...

Public Member Functions

MaterialGetMaterial2 (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...
 

Detailed Description

Material Manager.

Member Function Documentation

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.

Event Documentation

MaterialChangedEventHandler^ X3g::Plugin::MaterialManager::MaterialChanged
addremoveraise

Raised when parameters of a material have changed.