Photon Unity Networking
v1.88
|
PhotonTransformViewPositionModel Class Reference
Public Attributes | |
bool | SynchronizeEnabled |
bool | TeleportEnabled = true |
float | TeleportIfDistanceGreaterThan = 3f |
InterpolateOptions | InterpolateOption = InterpolateOptions.EstimatedSpeed |
float | InterpolateMoveTowardsSpeed = 1f |
float | InterpolateLerpSpeed = 1f |
float | InterpolateMoveTowardsAcceleration = 2 |
float | InterpolateMoveTowardsDeceleration = 2 |
AnimationCurve | InterpolateSpeedCurve |
ExtrapolateOptions | ExtrapolateOption = ExtrapolateOptions.Disabled |
float | ExtrapolateSpeed = 1f |
bool | ExtrapolateIncludingRoundTripTime = true |
int | ExtrapolateNumberOfStoredPositions = 1 |
bool | DrawErrorGizmo = true |
Member Enumeration Documentation
Member Data Documentation
bool PhotonTransformViewPositionModel.DrawErrorGizmo = true |
bool PhotonTransformViewPositionModel.ExtrapolateIncludingRoundTripTime = true |
int PhotonTransformViewPositionModel.ExtrapolateNumberOfStoredPositions = 1 |
ExtrapolateOptions PhotonTransformViewPositionModel.ExtrapolateOption = ExtrapolateOptions.Disabled |
float PhotonTransformViewPositionModel.ExtrapolateSpeed = 1f |
float PhotonTransformViewPositionModel.InterpolateLerpSpeed = 1f |
float PhotonTransformViewPositionModel.InterpolateMoveTowardsAcceleration = 2 |
float PhotonTransformViewPositionModel.InterpolateMoveTowardsDeceleration = 2 |
float PhotonTransformViewPositionModel.InterpolateMoveTowardsSpeed = 1f |
InterpolateOptions PhotonTransformViewPositionModel.InterpolateOption = InterpolateOptions.EstimatedSpeed |
AnimationCurve PhotonTransformViewPositionModel.InterpolateSpeedCurve |
Initial value:
= new AnimationCurve( new Keyframe[] {
new Keyframe( -1, 0, 0, Mathf.Infinity ),
new Keyframe( 0, 1, 0, 0 ),
new Keyframe( 1, 1, 0, 1 ),
new Keyframe( 4, 4, 1, 0 ) } )
bool PhotonTransformViewPositionModel.SynchronizeEnabled |
bool PhotonTransformViewPositionModel.TeleportEnabled = true |
float PhotonTransformViewPositionModel.TeleportIfDistanceGreaterThan = 3f |