Photon Fusion 2.1.1

ChangeTick Struct Reference

An internal tick, representing change id. Effectively is a double of a regular tick, with the lowest bit set only for incoming changes (that places them in between ticks for shared mode plugin). More...

Inherits INetworkStruct.

Static Public Member Functions

static ChangeTick FromRaw (uint tick)
 Converts raw value to ChangeTick.
static ChangeTick FromRecvTick (Tick tick)
 Converts a regular tick during recv phase to ChangeTick.
static ChangeTick FromSimulationTick (Tick tick)
 Converts regular tick to ChangeTick.

Public Attributes

uint Raw
 The raw value of the ChangeTick. This represents a frame number.

Static Public Attributes

const int ALIGNMENT = 4
 The alignment of the ChangeTick structure in bytes.

Properties

static ChangeTick MaxValue [get]
 Max possible value.

Detailed Description

An internal tick, representing change id. Effectively is a double of a regular tick, with the lowest bit set only for incoming changes (that places them in between ticks for shared mode plugin).