0024762: Visualization - new interactive object AIS_ColoredShape with customized...
[occt.git] / src / Graphic3d / Graphic3d_MaterialAspect.cdl
index 7b67e83..a917a3d 100644 (file)
@@ -397,6 +397,12 @@ is
         --  Trigger: when <aRank> is < 1 or > NumberOfMaterials.
         ---Level: Public
 
+        MaterialFromName (myclass;
+                          theName : CString from Standard)
+        returns NameOfMaterial from Graphic3d;
+        ---Purpose:
+        -- Returns the material for specified name or Graphic3d_NOM_DEFAULT if name is unknown.
+
         ----------------------------
         -- Category: Private methods
         ----------------------------