Color legend method
Creates a function from its ID.
A static class. The catalog page shows it in context, with code.
Names are colored by what they are: a method.
Methods
Create() →
Create(ShapingFunctionId id) · Static. A new instance of the function, as a BaseShapingFunction, with its parameters at their defaults. A new object every call, so setting the parameters of one never changes another. Throws ArgumentOutOfRangeException for Custom and for a value the enum doesn’t define.
| Parameter | Type | Description |
|---|---|---|
id |
ShapingFunctionId |
The function to create. |