Targeting System 2.0.0
Plugin for multipurpose targeting and visual effects.
UniRx.FrameInterval< T > Struct Template Reference

Represents a value associated with time interval information. The time interval can represent the time it took to produce the value, the interval relative to a previous value, the value's delivery time relative to a base, etc. More...

Inheritance diagram for UniRx.FrameInterval< T >:

Public Member Functions

 FrameInterval (T value, int interval)
 Constructs a time interval value. More...
 
bool Equals (FrameInterval< T > other)
 Determines whether the current FrameInterval<T> value has the same Value and Interval as a specified FrameInterval<T> value. More...
 
override bool Equals (object obj)
 Determines whether the specified System.Object is equal to the current FrameInterval<T>. More...
 
override int GetHashCode ()
 Returns the hash code for the current FrameInterval<T> value. More...
 
override string ToString ()
 Returns a string representation of the current FrameInterval<T> value. More...
 

Static Public Member Functions

static bool operator== (FrameInterval< T > first, FrameInterval< T > second)
 Determines whether the two specified FrameInterval<T> values have the same Value and Interval. More...
 
static bool operator!= (FrameInterval< T > first, FrameInterval< T > second)
 Determines whether the two specified FrameInterval<T> values don't have the same Value and Interval. More...
 

Properties

Value [get]
 Gets the value.
 
int Interval [get]
 Gets the interval.
 

Detailed Description

Represents a value associated with time interval information. The time interval can represent the time it took to produce the value, the interval relative to a previous value, the value's delivery time relative to a base, etc.

Template Parameters
TThe type of the value being annotated with time interval information.

Constructor & Destructor Documentation

◆ FrameInterval()

UniRx.FrameInterval< T >.FrameInterval ( value,
int  interval 
)

Constructs a time interval value.

Parameters
valueThe value to be annotated with a time interval.
intervalTime interval associated with the value.

Member Function Documentation

◆ Equals() [1/2]

bool UniRx.FrameInterval< T >.Equals ( FrameInterval< T >  other)

Determines whether the current FrameInterval<T> value has the same Value and Interval as a specified FrameInterval<T> value.

Parameters
otherAn object to compare to the current FrameInterval<T> value.
Returns
true if both FrameInterval<T> values have the same Value and Interval; otherwise, false.

◆ Equals() [2/2]

override bool UniRx.FrameInterval< T >.Equals ( object  obj)

Determines whether the specified System.Object is equal to the current FrameInterval<T>.

Parameters
objThe System.Object to compare with the current FrameInterval<T>.
Returns
true if the specified System.Object is equal to the current FrameInterval<T>; otherwise, false.

◆ GetHashCode()

override int UniRx.FrameInterval< T >.GetHashCode ( )

Returns the hash code for the current FrameInterval<T> value.

Returns
A hash code for the current FrameInterval<T> value.

◆ operator!=()

static bool UniRx.FrameInterval< T >.operator!= ( FrameInterval< T >  first,
FrameInterval< T >  second 
)
static

Determines whether the two specified FrameInterval<T> values don't have the same Value and Interval.

Parameters
firstThe first FrameInterval<T> value to compare.
secondThe second FrameInterval<T> value to compare.
Returns
true if the first FrameInterval<T> value has a different Value or Interval as the second FrameInterval<T> value; otherwise, false.

◆ operator==()

static bool UniRx.FrameInterval< T >.operator== ( FrameInterval< T >  first,
FrameInterval< T >  second 
)
static

Determines whether the two specified FrameInterval<T> values have the same Value and Interval.

Parameters
firstThe first FrameInterval<T> value to compare.
secondThe second FrameInterval<T> value to compare.
Returns
true if the first FrameInterval<T> value has the same Value and Interval as the second FrameInterval<T> value; otherwise, false.

◆ ToString()

override string UniRx.FrameInterval< T >.ToString ( )

Returns a string representation of the current FrameInterval<T> value.

Returns
String representation of the current FrameInterval<T> value.

The documentation for this struct was generated from the following file: