Struct XRSessionUpdateParams
Syntax
public struct XRSessionUpdateParams : IEquatable<XRSessionUpdateParams>
Properties
screenDimensions
The current screen dimensions.
Declaration
public Vector2Int screenDimensions { get; set; }
Property Value
| Type |
Description |
| Vector2Int |
|
screenOrientation
The current screen orientation
Declaration
public ScreenOrientation screenOrientation { get; set; }
Property Value
| Type |
Description |
| ScreenOrientation |
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(XRSessionUpdateParams)
Declaration
public bool Equals(XRSessionUpdateParams other)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.ValueType.ToString()
Operators
Equality(XRSessionUpdateParams, XRSessionUpdateParams)
Declaration
public static bool operator ==(XRSessionUpdateParams lhs, XRSessionUpdateParams rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Inequality(XRSessionUpdateParams, XRSessionUpdateParams)
Declaration
public static bool operator !=(XRSessionUpdateParams lhs, XRSessionUpdateParams rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|