Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Canvas.GetDefaultCanvasTextMaterial

Switch to Manual
public static function GetDefaultCanvasTextMaterial(): Material;

Description

Returns the default material that can be used for rendering text elements on the Canvas.