Class LayoutingContext
A context containing information for UI layouting.
public class LayoutingContext : IEquatable<LayoutingContext>
- Inheritance
-
LayoutingContext
- Implements
Properties
RealResolution
The resolution of the output target.
public Vector2 RealResolution { get; }
Property Value
RealVirtualResolutionRatio
The ratio between the real and virtual resolution (=real/virtual)
public Vector2 RealVirtualResolutionRatio { get; }
Property Value
VirtualResolution
The virtual resolution of the UI.
public Vector3 VirtualResolution { get; }
Property Value
Methods
Equals(LayoutingContext)
Determine if two LayoutingContext are equals.
public bool Equals(LayoutingContext other)
Parameters
other
LayoutingContextthe other context
Returns
- bool
True if the two contexts are equals