Photon Fusion 1.1.2

Public Member Functions | Static Public Member Functions | Properties | List of all members
SimulationSnapshot Class Reference

Represents a snapshot of the simulation state More...

Public Member Functions

byte[] GetStateBytes ()
 

Static Public Member Functions

static int LevelExperience (int level, int experiencePerStep)
 

Properties

Tick Tick [get]
 The absolute tick index this snapshot represents. More...
 
double Time [get]
 The time in seconds this SimulationSnapshot represents. Time is relative to Tick 0, with Tick 0 representing Time 0f. More...
 

Detailed Description

Represents a snapshot of the simulation state

Property Documentation

◆ Tick

Tick Tick
get

The absolute tick index this snapshot represents.

◆ Time

double Time
get

The time in seconds this SimulationSnapshot represents. Time is relative to Tick 0, with Tick 0 representing Time 0f.