Class ContentZoomer
Inheritance
ContentZoomer
Assembly: UnityEditor.dll
Syntax
public class ContentZoomer : Manipulator, IManipulator
Fields
|
Improve this Doc
View Source
DefaultMaxScale
Declaration
public static readonly float DefaultMaxScale
Field Value
|
Improve this Doc
View Source
DefaultMinScale
Declaration
public static readonly float DefaultMinScale
Field Value
|
Improve this Doc
View Source
DefaultReferenceScale
Declaration
public static readonly float DefaultReferenceScale
Field Value
|
Improve this Doc
View Source
DefaultScaleStep
Declaration
public static readonly float DefaultScaleStep
Field Value
Properties
|
Improve this Doc
View Source
keepPixelCacheOnZoom
Declaration
public bool keepPixelCacheOnZoom { get; set; }
Property Value
|
Improve this Doc
View Source
maxScale
Declaration
public float maxScale { get; set; }
Property Value
|
Improve this Doc
View Source
minScale
Declaration
public float minScale { get; set; }
Property Value
|
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
|
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
Methods
|
Improve this Doc
View Source
RegisterCallbacksOnTarget()
Declaration
protected override void RegisterCallbacksOnTarget()
Overrides
|
Improve this Doc
View Source
UnregisterCallbacksFromTarget()
Declaration
protected override void UnregisterCallbacksFromTarget()
Overrides
Implements
Extension Methods