ConversionCache Class

Summary

[Editor-Only] Utilities for Animancer.Editor.ConversionCache`2.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ConversionCache"] class Type type-node

Syntax

public static class ConversionCache

Remarks

This class doesn't use any Editor-Only functionality, but it's unlikely to be useful at runtime.

Methods

Name Value Summary
CreateWidthCache(GUIStyle) ConversionCache<string, float>
Creates a Animancer.Editor.ConversionCache`2 for calculating the GUI width occupied by text using the specified `style`.
static
ToStringCached(float) string
[Animancer Extension] Calls System.Single.ToString(System.String) using "g" as the format and caches the result.
static