LayoutingContext Class
Namespace: Stride.UIAssembly: Stride.UI.dll
A context containing information for UI layouting.
System.Object →
LayoutingContext
Derived from LayoutingContext:
public class LayoutingContext : IEquatable<LayoutingContext>
Name | Description | |
---|---|---|
Properties | ||
RealResolution | The resolution of the output target. |
|
RealVirtualResolutionRatio | The ratio between the real and virtual resolution (=real/virtual) |
|
VirtualResolution | The virtual resolution of the UI. |
|
Methods | ||
Equals(LayoutingContext) | Determine if two LayoutingContext are equals. |
Properties
RealResolution
The resolution of the output target.
public Vector2 RealResolution { get; }
Property Value
Type | Description |
---|---|
Vector2 |
RealVirtualResolutionRatio
The ratio between the real and virtual resolution (=real/virtual)
public Vector2 RealVirtualResolutionRatio { get; }
Property Value
Type | Description |
---|---|
Vector2 |
VirtualResolution
The virtual resolution of the UI.
public Vector3 VirtualResolution { get; }
Property Value
Type | Description |
---|---|
Vector3 |
Methods
Equals(LayoutingContext)
Determine if two LayoutingContext are equals.
public bool Equals(LayoutingContext other)
Parameters
Type | Name | Description |
---|---|---|
LayoutingContext | other | the other context |
Returns
Type | Description |
---|---|
System.Boolean |