Photon Fusion 2.0.3

Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
NetworkLoadSceneParameters Struct Reference

Parameters for loading a scene More...

Inherits IEquatable< NetworkLoadSceneParameters >.

Public Member Functions

bool Equals (NetworkLoadSceneParameters other)
 Compares two NetworkLoadSceneParameters for equality More...
 
override bool Equals (object obj)
 Compares two NetworkLoadSceneParameters for equality More...
 
override int GetHashCode ()
 Returns the hash code of the NetworkLoadSceneParameters More...
 
override string ToString ()
 Returns a string representation of the NetworkLoadSceneParameters More...
 

Static Public Member Functions

static bool operator!= (NetworkLoadSceneParameters left, NetworkLoadSceneParameters right)
 Compares two NetworkLoadSceneParameters for inequality More...
 
static bool operator== (NetworkLoadSceneParameters left, NetworkLoadSceneParameters right)
 Compares two NetworkLoadSceneParameters for equality More...
 

Public Attributes

readonly NetworkSceneLoadId LoadId
 The unique id of the scene load operation More...
 

Properties

bool IsActiveOnLoad [get]
 Signals if the scene should be active on load More...
 
bool IsLocalPhysics2D [get]
 Signals if the scene should have local 2D physics More...
 
bool IsLocalPhysics3D [get]
 Signals if the scene should have local 3D physics More...
 
bool IsSingleLoad [get]
 Signals if the scene should be single loaded More...
 
LoadSceneMode LoadSceneMode [get]
 The LoadSceneMode to use when loading the scene More...
 
LoadSceneParameters LoadSceneParameters [get]
 The LoadSceneParameters to use when loading the scene More...
 
LocalPhysicsMode LocalPhysicsMode [get]
 The LocalPhysicsMode to use when loading the scene More...
 

Detailed Description

Parameters for loading a scene

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( NetworkLoadSceneParameters  other)

Compares two NetworkLoadSceneParameters for equality

Parameters
otherThe other NetworkLoadSceneParameters
Returns
Returns true if the two NetworkLoadSceneParameters are equal

◆ Equals() [2/2]

override bool Equals ( object  obj)

Compares two NetworkLoadSceneParameters for equality

Parameters
objThe other NetworkLoadSceneParameters
Returns
Returns true if the two NetworkLoadSceneParameters are equal

◆ GetHashCode()

override int GetHashCode ( )

Returns the hash code of the NetworkLoadSceneParameters

◆ operator!=()

static bool operator!= ( NetworkLoadSceneParameters  left,
NetworkLoadSceneParameters  right 
)
static

Compares two NetworkLoadSceneParameters for inequality

Parameters
leftLeft NetworkLoadSceneParameters
rightRight NetworkLoadSceneParameters
Returns
Returns true if the two NetworkLoadSceneParameters are not equal

◆ operator==()

static bool operator== ( NetworkLoadSceneParameters  left,
NetworkLoadSceneParameters  right 
)
static

Compares two NetworkLoadSceneParameters for equality

Parameters
leftLeft NetworkLoadSceneParameters
rightRight NetworkLoadSceneParameters
Returns
Returns true if the two NetworkLoadSceneParameters are equal

◆ ToString()

override string ToString ( )

Returns a string representation of the NetworkLoadSceneParameters

Member Data Documentation

◆ LoadId

readonly NetworkSceneLoadId LoadId

The unique id of the scene load operation

Property Documentation

◆ IsActiveOnLoad

bool IsActiveOnLoad
get

Signals if the scene should be active on load

◆ IsLocalPhysics2D

bool IsLocalPhysics2D
get

Signals if the scene should have local 2D physics

◆ IsLocalPhysics3D

bool IsLocalPhysics3D
get

Signals if the scene should have local 3D physics

◆ IsSingleLoad

bool IsSingleLoad
get

Signals if the scene should be single loaded

◆ LoadSceneMode

LoadSceneMode LoadSceneMode
get

The LoadSceneMode to use when loading the scene

◆ LoadSceneParameters

LoadSceneParameters LoadSceneParameters
get

The LoadSceneParameters to use when loading the scene

◆ LocalPhysicsMode

LocalPhysicsMode LocalPhysicsMode
get

The LocalPhysicsMode to use when loading the scene