Show / Hide Table of Contents

Class CanvasScaler

Inheritance
Object
CanvasScaler
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class CanvasScaler : Behaviour<UnityEngine.UI.CanvasScaler>

Fields

| Improve this Doc View Source

ReferencePixelsPerUnitProperty

Backing store for the ReferencePixelsPerUnit property.

Declaration
public static readonly BindableProperty ReferencePixelsPerUnitProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

UiScaleProperty

Backing store for the UiScale property.

Declaration
public static readonly BindableProperty UiScaleProperty
Field Value
Type Description
BindableProperty

Properties

| Improve this Doc View Source

ReferencePixelsPerUnit

A property that represents UnityEngine.UI.CanvasScaler.referencePixelsPerUnit.

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

UiScale

A property that represents scaling mode and its properties.

Declaration
public Modifier UiScale { get; set; }
Property Value
Type Description
Modifier
Remarks

Setting to this property binds its lifetime to the lifetime of this object.

Methods

| Improve this Doc View Source

AwakeInMainThread()

Declaration
protected override void AwakeInMainThread()
| Improve this Doc View Source

DestroyMuxInMainThread()

Declaration
protected override void DestroyMuxInMainThread()
| Improve this Doc View Source

OnBindingContextChanged()

Declaration
protected override void OnBindingContextChanged()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX