Docs / Shaping functions

Glossary: ShapingFunctionCatalog

The methods of ShapingFunctionCatalog, in alphabetical order.

Color legend method

Lists the categories and the functions of the library, for a picker.

A static class. The catalog page shows it in context, with code.

Names are colored by what they are: a method.

Methods

GetCategories() →

GetCategories() · Static. Every category that has functions, as an IReadOnlyCollection<ShapingFunctionCategory>, in the order the enum declares them: Back, Bezier, Bounce and so on to Sine. Custom isn’t among them. The same collection every call.

GetFunctions() →

GetFunctions(ShapingFunctionCategory category) · Static. The IDs of the category’s functions, as an IReadOnlyList<ShapingFunctionId>, in the order the enum declares them. Throws ArgumentOutOfRangeException for Custom and for a value the enum doesn’t define.

Parameter Type Description
category ShapingFunctionCategory One of the categories GetCategories lists.