TransformExt.ApplyInterpolation Method
Applies an interpolation between two other transforms.
Namespace: UltimateXR.Extensions.Unity
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static void ApplyInterpolation(
Transform source,
Transform a,
Transform b,
float t
)
Parameters
- source
- Type: Transform
Transform to apply the interpolation to - a
- Type: Transform
Start transform - b
- Type: Transform
Finish transform - t
- Type: System.Single
Interpolation value