Photon.Pun.PhotonTransformViewRotationControl Class Reference

Public Member Functions

 PhotonTransformViewRotationControl (PhotonTransformViewRotationModel model)
 
Quaternion GetNetworkRotation ()
 Gets the last rotation that was received through the network More...
 
Quaternion GetRotation (Quaternion currentRotation)
 
void OnPhotonSerializeView (Quaternion currentRotation, PhotonStream stream, PhotonMessageInfo info)
 

Constructor & Destructor Documentation

◆ PhotonTransformViewRotationControl()

Photon.Pun.PhotonTransformViewRotationControl.PhotonTransformViewRotationControl ( PhotonTransformViewRotationModel  model)

Member Function Documentation

◆ GetNetworkRotation()

Quaternion Photon.Pun.PhotonTransformViewRotationControl.GetNetworkRotation ( )

Gets the last rotation that was received through the network

Returns

◆ GetRotation()

Quaternion Photon.Pun.PhotonTransformViewRotationControl.GetRotation ( Quaternion  currentRotation)

◆ OnPhotonSerializeView()

void Photon.Pun.PhotonTransformViewRotationControl.OnPhotonSerializeView ( Quaternion  currentRotation,
PhotonStream  stream,
PhotonMessageInfo  info 
)

The documentation for this class was generated from the following file: