Documentation

Unity Engine

Unity Engine

SetFaceSize(int)

Set the size of the currently loaded font face.
Read time 1 minuteLast updated 2 months 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.