XrTime
(
value
)
|
Signature
XrTime(long value) Parameters value: long |
_value
: readonly long |
Signature
readonly long _value |
PredictedDisplayTime
: XrTime
[Get] |
The predicted display time.
The predicted display time is the time at which the runtime predicts the current frame will be displayed to the user. This is often used as a parameter to functions that provide a pose or other data at a given time. Often, rather than use the current time, you should specify the predicted display time.
Signature
XrTime PredictedDisplayTime |
Value
: long
[Get] |
The raw value for this XrTime.
This represents the number of nanoseconds since an epoch used by the OpenXR runtime.
Signature
long Value |
CompareTo
(
obj
)
|
Signature
int CompareTo(object obj) Parameters obj: objectReturns int |
CompareTo
(
other
)
| |
Equals
(
other
)
| |
Equals
(
obj
)
|
Signature
override bool Equals(object obj) Parameters obj: objectReturns override bool |
GetHashCode
()
|
Signature
override int GetHashCode() Returns override int |
ToSeconds
()
|
This XrTime represented as a number of seconds.
Signature
double ToSeconds() Returns double
Returns the number of seconds since the epoch used by this XrTime.
|
ToString
()
|
Signature
override string ToString() Returns override string |
FromSeconds
(
seconds
)
| |
operator!=
(
left
, right
)
| |
operator+
(
left
, right
)
|
Signature
static XrTime operator+(XrTime left, XrDuration right) Parameters left: XrTimeright: XrDurationReturns XrTime |
operator-
(
left
, right
)
|
Signature
static XrTime operator-(XrTime left, XrDuration right) Parameters left: XrTimeright: XrDurationReturns XrTime |
operator-
(
left
, right
)
|
Signature
static XrDuration operator-(XrTime left, XrTime right) Returns XrDuration |
operator<
(
left
, right
)
| |
operator<=
(
left
, right
)
| |
operator==
(
left
, right
)
| |
operator>
(
left
, right
)
| |
operator>=
(
left
, right
)
|