NetworkTransform.InterpolatedTransformParameters Struct Reference

Struct that provides relevant parameters when interpolating a view representation with position and rotation data between two known states, referred as 'From' and 'To'. More...

## Public Attributes | |

float | InterpolationAlpha |

Normalized factor that represents the exact point between From and To states at which the view should be displayed. More... | |

Vector3 | UninterpolatedPositionFrom |

Position value at the From state. More... | |

Vector3 | UninterpolatedPositionTo |

Position value at the To state. More... | |

Vector3 | InterpolatedPosition |

Position value interpolated between From (UninterpolatedPositionFrom) and To (UninterpolatedPositionTo) with factor InterpolationAlpha. More... | |

Vector3 | InterpolatedPositionErrorCorrection |

Computed value for smooth correction of prediction error. In order to apply it, add its value to the InterpolatedPosition before setting the result to the view transform. The value will be Vector3.zero if there is no prediction error or InterpolateErrorCorrection is disabled. More... | |

Quaternion | UninterpolatedRotationFrom |

Rotation value at the From state. More... | |

Quaternion | UninterpolatedRotationTo |

Rotation value at the To state. More... | |

Quaternion | InterpolatedRotation |

Rotation value interpolated between From (UninterpolatedRotationFrom) and To (UninterpolatedRotationTo) with factor InterpolationAlpha. More... | |

Quaternion | InterpolatedRotationErrorCorrection |

Computed value for smooth correction of prediction error. In order to apply it, multiply its value by the InterpolatedRotation before setting the result to the view transform. The value will be Quaternion.identity if there is no prediction error or InterpolateErrorCorrection is disabled. More... | |

Struct that provides relevant parameters when interpolating a view representation with position and rotation data between two known states, referred as 'From' and 'To'.

Vector3 InterpolatedPosition |

Position value interpolated between From (UninterpolatedPositionFrom) and To (UninterpolatedPositionTo) with factor InterpolationAlpha.

Vector3 InterpolatedPositionErrorCorrection |

Computed value for smooth correction of prediction error. In order to apply it, add its value to the InterpolatedPosition before setting the result to the view transform. The value will be Vector3.zero if there is no prediction error or InterpolateErrorCorrection is disabled.

Quaternion InterpolatedRotation |

Rotation value interpolated between From (UninterpolatedRotationFrom) and To (UninterpolatedRotationTo) with factor InterpolationAlpha.

Quaternion InterpolatedRotationErrorCorrection |

Computed value for smooth correction of prediction error. In order to apply it, multiply its value by the InterpolatedRotation before setting the result to the view transform. The value will be Quaternion.identity if there is no prediction error or InterpolateErrorCorrection is disabled.

float InterpolationAlpha |

Normalized factor that represents the exact point between From and To states at which the view should be displayed.

Vector3 UninterpolatedPositionFrom |

Position value at the From state.

Vector3 UninterpolatedPositionTo |

Position value at the To state.

Quaternion UninterpolatedRotationFrom |

Rotation value at the From state.

Quaternion UninterpolatedRotationTo |

Rotation value at the To state.