Scripting API

GlyphRect

struct in UnityEngine.TextCore · UnityEngine.CoreModule

Not in Unity's public API, or in an assembly the coverage doesn't count.Unity's documentation
In Tassix

A glyph's rectangle in its atlas texture, in pixels from the bottom left.

Constructors 1

GlyphRect(int x, int y, int width, int height)
GlyphRect(Rect rect)

Properties 5

int height { get; set; }
int width { get; set; }
int x { get; set; }
int y { get; set; }
static GlyphRect zero { get; }

Methods 2

bool Equals(GlyphRect other)
bool Equals(object? obj)
int GetHashCode()

Operators 2

static bool operator !=(GlyphRect a, GlyphRect b)
static bool operator ==(GlyphRect a, GlyphRect b)