Photon Unity Networking: C:/Dev/photon-sdk-dotnet-v4-1-1-16/Unity/PhotonNetworking/Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonView.cs File Reference

Photon Unity Networking

PhotonView.cs File Reference

Classes

class  PhotonView
 PUN's NetworkView replacement class for networking. Use it like a NetworkView. More...
 

Enumerations

enum  ViewSynchronization { ViewSynchronization.Off, ViewSynchronization.ReliableDeltaCompressed, ViewSynchronization.Unreliable, ViewSynchronization.UnreliableOnChange }
 
enum  OnSerializeTransform {
  OnSerializeTransform.OnlyPosition, OnSerializeTransform.OnlyRotation, OnSerializeTransform.OnlyScale, OnSerializeTransform.PositionAndRotation,
  OnSerializeTransform.All
}
 
enum  OnSerializeRigidBody { OnSerializeRigidBody.OnlyVelocity, OnSerializeRigidBody.OnlyAngularVelocity, OnSerializeRigidBody.All }
 
enum  OwnershipOption { OwnershipOption.Fixed, OwnershipOption.Takeover, OwnershipOption.Request }
 Options to define how Ownership Transfer is handled per PhotonView. More...
 

Enumeration Type Documentation

Enumerator
OnlyVelocity 
OnlyAngularVelocity 
All 
Enumerator
OnlyPosition 
OnlyRotation 
OnlyScale 
PositionAndRotation 
All 

Options to define how Ownership Transfer is handled per PhotonView.

This setting affects how RequestOwnership and TransferOwnership work at runtime.

Enumerator
Fixed 

Ownership is fixed. Instantiated objects stick with their creator, scene objects always belong to the Master Client.

Takeover 

Ownership can be taken away from the current owner who can't object.

Request 

Ownership can be requested with PhotonView.RequestOwnership but the current owner has to agree to give up ownership.

The current owner has to implement IPunCallbacks.OnOwnershipRequest to react to the ownership request.

Enumerator
Off 
ReliableDeltaCompressed 
Unreliable 
UnreliableOnChange 
Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH