Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

GraphView.UpdateViewTransform

Declaration

public void UpdateViewTransform(Vector3 newPosition, Vector3 newScale);

Parameters

newPosition New position.
newScale New scale.

Description

Update the viewport transform.