| Revit 2022 API |
| Material..::..Shininess Property |
| Material Class See Also |
The shininess of the material.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Syntax
| C# |
|---|
public int Shininess { get; set; } |
| Visual Basic |
|---|
Public Property Shininess As Integer Get Set |
| Visual C++ |
|---|
public: property int Shininess { int get (); void set (int value); } |
Field Value
The value ranges from 0 to 128.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | When setting this property: values for shininess must be between 0 and 128 |