Photon Unity Networking 2 2.30

Public Member Functions | List of all members
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)
 

Member Function Documentation

◆ GetNetworkRotation()

Quaternion GetNetworkRotation ( )

Gets the last rotation that was received through the network

Returns