Photon Fusion 2.0.0

Classes | Public Member Functions | Properties | List of all members
SimulationInput Class Reference

Simulation Input. More...

Classes

class  Buffer
 Buffer for SimulationInputs. 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.
 
SimulationInputHeaderHeader [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.