Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetFaceSize(int)

Set the size of the currently loaded font face.
Read time 1 minuteLast updated 8 days ago

Definition

public static FontEngineError SetFaceSize(int pointSize)

Parameters

pointSize

The point size used to scale the font face.

Returns

Type

Description

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