Photon Unity Networking v1.101

Public Member Functions | List of all members
PhotonTransformViewScaleControl Class Reference

Public Member Functions

 PhotonTransformViewScaleControl (PhotonTransformViewScaleModel model)
 
Vector3 GetNetworkScale ()
 Gets the last scale that was received through the network More...
 
Vector3 GetScale (Vector3 currentScale)
 
void OnPhotonSerializeView (Vector3 currentScale, PhotonStream stream, PhotonMessageInfo info)
 

Constructor & Destructor Documentation

◆ PhotonTransformViewScaleControl()

PhotonTransformViewScaleControl.PhotonTransformViewScaleControl ( PhotonTransformViewScaleModel  model)

Member Function Documentation

◆ GetNetworkScale()

Vector3 PhotonTransformViewScaleControl.GetNetworkScale ( )

Gets the last scale that was received through the network

Returns

◆ GetScale()

Vector3 PhotonTransformViewScaleControl.GetScale ( Vector3  currentScale)

◆ OnPhotonSerializeView()

void PhotonTransformViewScaleControl.OnPhotonSerializeView ( Vector3  currentScale,
PhotonStream  stream,
PhotonMessageInfo  info 
)