Table of Contents

Class LayoutingContext

Namespace
Stride.UI
Assembly
Stride.UI.dll

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

Vector2

RealVirtualResolutionRatio

The ratio between the real and virtual resolution (=real/virtual)

public Vector2 RealVirtualResolutionRatio { get; }

Property Value

Vector2

VirtualResolution

The virtual resolution of the UI.

public Vector3 VirtualResolution { get; }

Property Value

Vector3

Methods

Equals(LayoutingContext)

Determine if two LayoutingContext are equals.

public bool Equals(LayoutingContext other)

Parameters

other LayoutingContext

the other context

Returns

bool

True if the two contexts are equals