Show / Hide Table of Contents

Class CanvasGroup

A that represents UnityEngine.CanvasGroup.

Inheritance
Object
CanvasGroup
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class CanvasGroup : Behaviour<UnityEngine.CanvasGroup>
Examples
<m:RectTransform
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:m="clr-namespace:Mux.Markup;assembly=Mux.Markup"
    xmlns:mu="clr-namespace:Mux.Markup;assembly=Mux.Markup.UI"
    xmlns:mue="clr-namespace:Mux.Markup.Extras;assembly=Mux.Markup.UI"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <mu:StandaloneInputModule />
    <mu:Canvas />
    <mu:CanvasScaler UiScale="{mu:ConstantPhysicalSize}" />
    <mu:GraphicRaycaster />
    <mu:CanvasGroup Alpha="0.5" />
    <m:RectTransform X="{m:Stretch AnchorMax=0.5}">
        <mu:Image Color="{m:Color R=0, G=0, B=1}"  />
    </m:RectTransform>
    <m:RectTransform X="{m:Stretch AnchorMin=0.5}">
        <mu:Image Color="{m:Color R=0, G=1, B=0}" />
    </m:RectTransform>
</m:RectTransform>

Fields

| Improve this Doc View Source

AlphaProperty

Backing store for the Alpha property.

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

BlocksRaycastsProperty

Backing store for the BlocksRaycasts property.

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

IgnoreParentGroupsProperty

Backing store for the IgnoreParentGroups property.

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

InteractableProperty

Backing store for the Interactable property.

Declaration
public static readonly BindableProperty InteractableProperty
Field Value
Type Description
BindableProperty

Properties

| Improve this Doc View Source

Alpha

A property that represents UnityEngine.CanvasGroup.alpha.

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

BlocksRaycasts

A property that represents UnityEngine.CanvasGroup.blocksRaycasts.

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

IgnoreParentGroups

A property that represents UnityEngine.CanvasGroup.ignoreParentGroups.

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

Interactable

A property that represents UnityEngine.CanvasGroup.interactable.

Declaration
public bool Interactable { get; set; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

AwakeInMainThread()

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