Show / Hide Table of Contents

Class Shadow

A class that represents UnityEngine.UI.Shadow.

Inheritance
Object
Shadow<UnityEngine.UI.Shadow>
Shadow
Inherited Members
Shadow<UnityEngine.UI.Shadow>.EffectColorProperty
Shadow<UnityEngine.UI.Shadow>.EffectDistanceProperty
Shadow<UnityEngine.UI.Shadow>.UseGraphicAlphaProperty
Shadow<UnityEngine.UI.Shadow>.EffectColor
Shadow<UnityEngine.UI.Shadow>.EffectDistance
Shadow<UnityEngine.UI.Shadow>.UseGraphicAlpha
Shadow<UnityEngine.UI.Shadow>.AwakeInMainThread()
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public sealed class Shadow : Shadow<UnityEngine.UI.Shadow>
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:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:playground="clr-namespace:Mux.Playground;assembly=Assembly-CSharp"
    x:DataType="playground:PlaygroundViewModel">
    <!--
      Note that you can use "using" scheme instead of "clr-namespace" to omit assembly
      specification if:
      - the referenced type is in an assembly already loaded. (interpreter)
      - the referenced type is in the assembly containing the compiled XAML. (compiler)
    -->
    <mu:StandaloneInputModule />
    <mu:Canvas />
    <mu:CanvasScaler UiScale="{mu:ConstantPhysicalSize}" />
    <mu:GraphicRaycaster />
    <mu:Shadow />
    <mu:Text Font="{Binding Path=Resources.Font}">
        <mu:Text.Content>
You have to give property name "Path" to Binding only when you compile
the interpreter with IL2CPP. It is because ContentPropertyAttribute does
not work with IL2CPP.

This text is shadowed.
        </mu:Text.Content>
    </mu:Text>
</m:RectTransform>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX