Show / Hide Table of Contents

Class ContentZoomer

Inheritance
Object
Manipulator
ContentZoomer
Implements
IManipulator
Inherited Members
Manipulator.target
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor.Experimental.UIElements.GraphView
Assembly: UnityEditor.dll
Syntax
public class ContentZoomer : Manipulator, IManipulator

Fields

| Improve this Doc View Source

DefaultMaxScale

Declaration
public static readonly float DefaultMaxScale
Field Value
Type Description
Single
| Improve this Doc View Source

DefaultMinScale

Declaration
public static readonly float DefaultMinScale
Field Value
Type Description
Single
| Improve this Doc View Source

DefaultReferenceScale

Declaration
public static readonly float DefaultReferenceScale
Field Value
Type Description
Single
| Improve this Doc View Source

DefaultScaleStep

Declaration
public static readonly float DefaultScaleStep
Field Value
Type Description
Single

Properties

| Improve this Doc View Source

keepPixelCacheOnZoom

Declaration
public bool keepPixelCacheOnZoom { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

maxScale

Declaration
public float maxScale { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

minScale

Declaration
public float minScale { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

referenceScale

Scale that should be computed when scroll wheel offset is at zero.

Declaration
public float referenceScale { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

scaleStep

Relative scale change when zooming in/out (e.g. For 15%, use 0.15).

Declaration
public float scaleStep { get; set; }
Property Value
Type Description
Single
Remarks

Depending on the values of minScale, maxScale and scaleStep, it is not guaranteed that the first and last two scale steps will correspond exactly to the value specified in scaleStep.

Methods

| Improve this Doc View Source

RegisterCallbacksOnTarget()

Declaration
protected override void RegisterCallbacksOnTarget()
Overrides
Manipulator.RegisterCallbacksOnTarget()
| Improve this Doc View Source

UnregisterCallbacksFromTarget()

Declaration
protected override void UnregisterCallbacksFromTarget()
Overrides
Manipulator.UnregisterCallbacksFromTarget()

Implements

IManipulator

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX