This version of Unity is unsupported.

FontEngine.SetFaceSize

public static TextCore.LowLevel.FontEngineError SetFaceSize(int pointSize);

Parameters

pointSizeThe point size used to scale the font face.

Returns

FontEngineError A value of zero (0) if the font face was successfully scaled to the given point size.

Description

Set the size of the currently loaded font face.