Photon Fusion 2.1.1

SimulationInput Class Reference

Simulation Input. More...

Classes

class  Buffer
 A buffer for instances of SimulationInput. More...

Public Member Functions

void Clear (int wordCount)
 Clear a total of wordCount words from this input.
void CopyFrom (SimulationInput source, int wordCount)
 Copy wordCount words from source to this input.

Properties

int * Data [get]
 Data for this input.
ref SimulationInputHeader Header [get]
 Header for this input.
PlayerRef Player [get, set]
 Player that owns this input.
int Sent [get, set]
 Simulation input sent count.

Detailed Description

Simulation Input.

Member Function Documentation

◆ Clear()

void Clear ( int wordCount)

Clear a total of wordCount words from this input.

Parameters
wordCountWord count to clear.

◆ CopyFrom()

void CopyFrom ( SimulationInput source,
int wordCount )

Copy wordCount words from source to this input.

Parameters
sourceInput to copy from.
wordCountWord count to copy.