Class CanvasGroup
A
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 SourceAlphaProperty
Backing store for the Alpha property.
Declaration
public static readonly BindableProperty AlphaProperty
Field Value
Type | Description |
---|---|
BindableProperty |
BlocksRaycastsProperty
Backing store for the BlocksRaycasts property.
Declaration
public static readonly BindableProperty BlocksRaycastsProperty
Field Value
Type | Description |
---|---|
BindableProperty |
IgnoreParentGroupsProperty
Backing store for the IgnoreParentGroups property.
Declaration
public static readonly BindableProperty IgnoreParentGroupsProperty
Field Value
Type | Description |
---|---|
BindableProperty |
InteractableProperty
Backing store for the Interactable property.
Declaration
public static readonly BindableProperty InteractableProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceAlpha
A property that represents UnityEngine.CanvasGroup.alpha.
Declaration
public float Alpha { get; set; }
Property Value
Type | Description |
---|---|
Single |
BlocksRaycasts
A property that represents UnityEngine.CanvasGroup.blocksRaycasts.
Declaration
public bool BlocksRaycasts { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IgnoreParentGroups
A property that represents UnityEngine.CanvasGroup.ignoreParentGroups.
Declaration
public bool IgnoreParentGroups { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Interactable
A property that represents UnityEngine.CanvasGroup.interactable.
Declaration
public bool Interactable { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceAwakeInMainThread()
Declaration
protected override void AwakeInMainThread()