Table of Contents

Class NetickUnityUtils

Namespace
Netick.Unity
Assembly
Netick.Unity.dll
public class NetickUnityUtils
Inheritance
NetickUnityUtils
Inherited Members

Constructors

NetickUnityUtils()

public NetickUnityUtils()

Methods

GetColor(int*, float)

public static Color GetColor(int* data, float precision)

Parameters

data int*
precision float

Returns

Color

GetDouble(int*)

public static float GetDouble(int* data)

Parameters

data int*

Returns

float

GetFloat(int*, float)

public static float GetFloat(int* data, float precision)

Parameters

data int*
precision float

Returns

float

GetQuaternion(int*, float)

public static Quaternion GetQuaternion(int* data, float precision)

Parameters

data int*
precision float

Returns

Quaternion

GetQuaternionCompressed(int*)

public static Quaternion GetQuaternionCompressed(int* data)

Parameters

data int*

Returns

Quaternion

GetSmoothBool(NetickEngine, int*, ref Interpolator, InterpolationSource)

public static bool GetSmoothBool(NetickEngine engine, int* data, ref Interpolator interpolator, InterpolationSource interpolationSource)

Parameters

engine NetickEngine
data int*
interpolator Interpolator
interpolationSource InterpolationSource

Returns

bool

GetSmoothColor(NetickEngine, int*, ref Interpolator, InterpolationSource)

public static Color GetSmoothColor(NetickEngine engine, int* data, ref Interpolator interpolator, InterpolationSource interpolationSource)

Parameters

engine NetickEngine
data int*
interpolator Interpolator
interpolationSource InterpolationSource

Returns

Color

GetSmoothDouble(NetickEngine, int*, ref Interpolator, InterpolationSource)

public static double GetSmoothDouble(NetickEngine engine, int* data, ref Interpolator interpolator, InterpolationSource interpolationSource)

Parameters

engine NetickEngine
data int*
interpolator Interpolator
interpolationSource InterpolationSource

Returns

double

GetSmoothFloat(NetickEngine, int*, ref Interpolator, InterpolationSource)

public static float GetSmoothFloat(NetickEngine engine, int* data, ref Interpolator interpolator, InterpolationSource interpolationSource)

Parameters

engine NetickEngine
data int*
interpolator Interpolator
interpolationSource InterpolationSource

Returns

float

GetSmoothInt(NetickEngine, int*, ref Interpolator, InterpolationSource)

public static int GetSmoothInt(NetickEngine engine, int* data, ref Interpolator interpolator, InterpolationSource interpolationSource)

Parameters

engine NetickEngine
data int*
interpolator Interpolator
interpolationSource InterpolationSource

Returns

int

GetSmoothNetworkBool(NetickEngine, int*, ref Interpolator, InterpolationSource)

public static NetworkBool GetSmoothNetworkBool(NetickEngine engine, int* data, ref Interpolator interpolator, InterpolationSource interpolationSource)

Parameters

engine NetickEngine
data int*
interpolator Interpolator
interpolationSource InterpolationSource

Returns

NetworkBool

GetSmoothQuaternion(NetickEngine, int*, ref Interpolator, InterpolationSource)

public static Quaternion GetSmoothQuaternion(NetickEngine engine, int* data, ref Interpolator interpolator, InterpolationSource interpolationSource)

Parameters

engine NetickEngine
data int*
interpolator Interpolator
interpolationSource InterpolationSource

Returns

Quaternion

GetSmoothVector2(NetickEngine, int*, ref Interpolator, InterpolationSource)

public static Vector2 GetSmoothVector2(NetickEngine engine, int* data, ref Interpolator interpolator, InterpolationSource interpolationSource)

Parameters

engine NetickEngine
data int*
interpolator Interpolator
interpolationSource InterpolationSource

Returns

Vector2

GetSmoothVector3(NetickEngine, int*, ref Interpolator, InterpolationSource)

public static Vector3 GetSmoothVector3(NetickEngine engine, int* data, ref Interpolator interpolator, InterpolationSource interpolationSource)

Parameters

engine NetickEngine
data int*
interpolator Interpolator
interpolationSource InterpolationSource

Returns

Vector3

GetVector2(int*, float)

public static Vector2 GetVector2(int* data, float precision)

Parameters

data int*
precision float

Returns

Vector2

GetVector3(int*, float)

public static Vector3 GetVector3(int* data, float precision)

Parameters

data int*
precision float

Returns

Vector3

QuatMemberPack(float)

public static uint QuatMemberPack(float value)

Parameters

value float

Returns

uint

QuatMemberUnpack(uint)

public static float QuatMemberUnpack(uint data)

Parameters

data uint

Returns

float

SetColor(int*, Color, float)

public static void SetColor(int* data, Color value, float precisionInverse)

Parameters

data int*
value Color
precisionInverse float

SetFloat(int*, float, float)

public static void SetFloat(int* data, float value, float precisionInverse)

Parameters

data int*
value float
precisionInverse float

SetQuaternion(int*, Quaternion, float)

public static void SetQuaternion(int* data, Quaternion value, float precisionInverse)

Parameters

data int*
value Quaternion
precisionInverse float

SetQuaternionCompressed(int*, Quaternion)

public static void SetQuaternionCompressed(int* data, Quaternion value)

Parameters

data int*
value Quaternion

SetVector2(int*, Vector2, float)

public static void SetVector2(int* data, Vector2 value, float precisionInverse)

Parameters

data int*
value Vector2
precisionInverse float

SetVector3(int*, Vector3, float)

public static void SetVector3(int* data, Vector3 value, float precisionInverse)

Parameters

data int*
value Vector3
precisionInverse float