Photon.Pun.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()
Photon.Pun.PhotonTransformViewScaleControl.PhotonTransformViewScaleControl | ( | PhotonTransformViewScaleModel | model | ) |
Member Function Documentation
◆ GetNetworkScale()
Vector3 Photon.Pun.PhotonTransformViewScaleControl.GetNetworkScale | ( | ) |
Gets the last scale that was received through the network
- Returns
◆ GetScale()
Vector3 Photon.Pun.PhotonTransformViewScaleControl.GetScale | ( | Vector3 | currentScale | ) |
◆ OnPhotonSerializeView()
void Photon.Pun.PhotonTransformViewScaleControl.OnPhotonSerializeView | ( | Vector3 | currentScale, |
PhotonStream | stream, | ||
PhotonMessageInfo | info | ||
) |
The documentation for this class was generated from the following file:
- 3rd-Party/Photon/PhotonUnityNetworking/Code/Views/PhotonTransformViewClassic.cs