C# Class UnityEngine.UI.AspectRatioFitter

Inheritance: UnityEngine.EventSystems.UIBehaviour, ILayoutSelfController, ILayoutController
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Свойство Type Description
GetParentSize Vector2
GetSizeDeltaToProduceSize float
UpdateRect void

Méthodes publiques

Méthode Description
SetLayoutHorizontal ( ) : void

Method called by the layout system.

SetLayoutVertical ( ) : void

Method called by the layout system.

Méthodes protégées

Méthode Description
AspectRatioFitter ( ) : System
OnDisable ( ) : void

See MonoBehaviour.OnDisable.

OnEnable ( ) : void
OnRectTransformDimensionsChange ( ) : void
OnValidate ( ) : void
SetDirty ( ) : void

Mark the AspectRatioFitter as dirty.

Private Methods

Méthode Description
GetParentSize ( ) : Vector2
GetSizeDeltaToProduceSize ( float size, int axis ) : float
UpdateRect ( ) : void

Method Details

AspectRatioFitter() protected méthode

protected AspectRatioFitter ( ) : System
Résultat System

OnDisable() protected méthode

See MonoBehaviour.OnDisable.

protected OnDisable ( ) : void
Résultat void

OnEnable() protected méthode

protected OnEnable ( ) : void
Résultat void

OnRectTransformDimensionsChange() protected méthode

protected OnRectTransformDimensionsChange ( ) : void
Résultat void

OnValidate() protected méthode

protected OnValidate ( ) : void
Résultat void

SetDirty() protected méthode

Mark the AspectRatioFitter as dirty.

protected SetDirty ( ) : void
Résultat void

SetLayoutHorizontal() public méthode

Method called by the layout system.

public SetLayoutHorizontal ( ) : void
Résultat void

SetLayoutVertical() public méthode

Method called by the layout system.

public SetLayoutVertical ( ) : void
Résultat void