|
AGX Dynamics
2.37.2.0
|
Class with functionality to view items in the Material Library and load Materials. More...
#include <MaterialLibrary.h>
Public Types | |
| enum | LibraryItemType { MATERIAL, CONTACT_MATERIAL, TERRAIN_MATERIAL, CABLE_PROPERTIES, BEAMMODEL_PROPERTIES } |
| Enum describing different item types in the MaterialLibrary. More... | |
Static Public Member Functions | |
| static agx::StringVector | getAvailableItems (LibraryItemType itemType) |
| Returns a vector with all the names for requested item type. More... | |
| static agx::String | getFilePath (LibraryItemType itemType, agx::String name) |
| Return the relative path for a named library item of specified type. More... | |
| static agx::String | getItemTypeName (LibraryItemType itemType) |
| Return the name for a LibraryItemType. More... | |
| static agx::MaterialRef | loadMaterial (agx::String name) |
| Load a Material from the MaterialLibrary. More... | |
Class with functionality to view items in the Material Library and load Materials.
Definition at line 29 of file MaterialLibrary.h.
Enum describing different item types in the MaterialLibrary.
| Enumerator | |
|---|---|
| MATERIAL | |
| CONTACT_MATERIAL | |
| TERRAIN_MATERIAL | |
| CABLE_PROPERTIES | |
| BEAMMODEL_PROPERTIES | |
Definition at line 35 of file MaterialLibrary.h.
|
static |
Returns a vector with all the names for requested item type.
|
static |
Return the relative path for a named library item of specified type.
|
static |
Return the name for a LibraryItemType.
|
static |
Load a Material from the MaterialLibrary.