The NetworkBehaviourBufferInterpolator struct is used to interpolate between two NetworkBehaviourBuffer instances. This is a read-only, ref struct, meaning it cannot be boxed and it can only be used on the stack.
More...
The NetworkBehaviourBufferInterpolator struct is used to interpolate between two NetworkBehaviourBuffer instances. This is a read-only, ref struct, meaning it cannot be boxed and it can only be used on the stack.
◆ NetworkBehaviourBufferInterpolator()
◆ Angle() [1/2]
Gets the interpolated angle of a property.
- Parameters
-
property | The PropertyReader for the property to get the angle of. |
- Returns
- The interpolated angle of the property.
◆ Angle() [2/2]
float Angle |
( |
string |
property | ) |
|
Gets the interpolated angle of a property.
- Parameters
-
property | The name of the property to get the angle of. |
- Returns
- The interpolated angle of the property.
◆ Bool() [1/2]
Gets the interpolated boolean value of a property.
- Parameters
-
property | The PropertyReader for the property to get the boolean value of. |
- Returns
- The interpolated boolean value of the property.
◆ Bool() [2/2]
bool Bool |
( |
string |
property | ) |
|
Gets the interpolated boolean value of a property.
- Parameters
-
property | The name of the property to get the boolean value of. |
- Returns
- The interpolated boolean value of the property.
◆ Float() [1/2]
Gets the interpolated float value of a property.
- Parameters
-
property | The PropertyReader for the property to get the float value of. |
- Returns
- The interpolated float value of the property.
◆ Float() [2/2]
float Float |
( |
string |
property | ) |
|
Gets the interpolated float value of a property.
- Parameters
-
property | The name of the property to get the float value of. |
- Returns
- The interpolated float value of the property.
◆ Int() [1/2]
Gets the interpolated integer value of a property.
- Parameters
-
property | The PropertyReader for the property to get the integer value of. |
- Returns
- The interpolated integer value of the property.
◆ Int() [2/2]
int Int |
( |
string |
property | ) |
|
Gets the interpolated integer value of a property.
- Parameters
-
property | The name of the property to get the integer value of. |
- Returns
- The interpolated integer value of the property.
◆ operator bool()
Implicit conversion operator to bool. This allows a NetworkBehaviourBufferInterpolator instance to be used in conditions directly.
- Parameters
-
- Returns
- True if the interpolator is valid, false otherwise.
◆ Quaternion() [1/2]
Gets the interpolated Quaternion value of a property.
- Parameters
-
property | The PropertyReader for the property to get the Quaternion value of. |
- Returns
- The interpolated Quaternion value of the property.
◆ Quaternion() [2/2]
Quaternion Quaternion |
( |
string |
property | ) |
|
Gets the interpolated Quaternion value of a property.
- Parameters
-
property | The name of the property to get the Quaternion value of. |
- Returns
- The interpolated Quaternion value of the property.
◆ Select< T >() [1/2]
Selects the interpolated value of a property.
- Template Parameters
-
T | The type of the property to select. Must be unmanaged. |
- Parameters
-
property | The PropertyReader for the property to select. |
- Returns
- The interpolated value of the property.
◆ Select< T >() [2/2]
T Select< T > |
( |
string |
property | ) |
|
Selects the interpolated value of a property by its name.
- Template Parameters
-
T | The type of the property to select. Must be unmanaged. |
- Parameters
-
property | The name of the property to select. |
- Returns
- The interpolated value of the property.
◆ Vector2() [1/2]
Gets the interpolated Vector2 value of a property.
- Parameters
-
property | The PropertyReader for the property to get the Vector2 value of. |
- Returns
- The interpolated Vector2 value of the property.
◆ Vector2() [2/2]
Vector2 Vector2 |
( |
string |
property | ) |
|
Gets the interpolated Vector2 value of a property.
- Parameters
-
property | The name of the property to get the Vector2 value of. |
- Returns
- The interpolated Vector2 value of the property.
◆ Vector3() [1/2]
Gets the interpolated Vector3 value of a property.
- Parameters
-
property | The PropertyReader for the property to get the Vector3 value of. |
- Returns
- The interpolated Vector3 value of the property.
◆ Vector3() [2/2]
Vector3 Vector3 |
( |
string |
property | ) |
|
Gets the interpolated Vector3 value of a property.
- Parameters
-
property | The name of the property to get the Vector3 value of. |
- Returns
- The interpolated Vector3 value of the property.
◆ Vector4() [1/2]
Gets the interpolated Vector4 value of a property.
- Parameters
-
property | The PropertyReader for the property to get the Vector4 value of. |
- Returns
- The interpolated Vector4 value of the property.
◆ Vector4() [2/2]
Vector4 Vector4 |
( |
string |
property | ) |
|
Gets the interpolated Vector4 value of a property.
- Parameters
-
property | The name of the property to get the Vector4 value of. |
- Returns
- The interpolated Vector4 value of the property.
◆ Alpha
The interpolation factor, ranging from 0 to 1. This value is used to interpolate between the "from" and "to" states.
◆ Behaviour
◆ From
◆ To
◆ Valid
A value indicating whether this interpolator is valid. An interpolator is considered valid if it has successfully retrieved the "from" and "to" buffers.