Photon Unity Networking v1.101

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)
 

Constructor & Destructor Documentation

◆ PhotonTransformViewRotationControl()

PhotonTransformViewRotationControl.PhotonTransformViewRotationControl ( PhotonTransformViewRotationModel  model)

Member Function Documentation

◆ GetNetworkRotation()

Quaternion PhotonTransformViewRotationControl.GetNetworkRotation ( )

Gets the last rotation that was received through the network

Returns

◆ GetRotation()

Quaternion PhotonTransformViewRotationControl.GetRotation ( Quaternion  currentRotation)

◆ OnPhotonSerializeView()

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