Table of Contents

Struct Interpolator<T>

Namespace
Netick
Assembly
Netick.dll

A struct that is used to obtain interpolation data for a network property.

public struct Interpolator<T> where T : unmanaged

Type Parameters

T
Inherited Members

Constructors

Interpolator(Entity, int*, int)

public Interpolator(Entity entity, int* s, int offsetInWords)

Parameters

entity Entity
s int*
offsetInWords int

Methods

GetInterpolationData(InterpolationMode, out T, out T, out float)

Tries to obtain interpolation data for this frame.

public bool GetInterpolationData(InterpolationMode interpolationMode, out T from, out T to, out float alpha)

Parameters

interpolationMode InterpolationMode
from T
to T
alpha float

Returns

bool