Photon Unity Networking: PhotonTransformViewRotationControl Class Reference

Photon Unity Networking

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.PhotonTransformViewRotationControl ( PhotonTransformViewRotationModel  model)

Member Function Documentation

Quaternion PhotonTransformViewRotationControl.GetNetworkRotation ( )

Gets the last rotation that was received through the network

Returns
Quaternion PhotonTransformViewRotationControl.GetRotation ( Quaternion  currentRotation)
void PhotonTransformViewRotationControl.OnPhotonSerializeView ( Quaternion  currentRotation,
PhotonStream  stream,
PhotonMessageInfo  info 
)
Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH