Class Smooth
- Namespace
- Netick
- Assembly
- Netick.dll
Use this attribute on any property you want to interpolate/smooth. And you would automatically get interpolated values when accessing the property in NetRender.
* If you want to always use server data (snapshots) for interpolation, pass true to parameter "serverDataInterpolation"
[AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
public class Smooth : Attribute
- Inheritance
-
Smooth
- Inherited Members
Constructors
Smooth(int)
public Smooth(int interpolationId = -1)
Parameters
interpolationId
int