Show / Hide Table of Contents

Class Clamped

A class that represents the clamped movement of UnityEngine.UI.ScrollRect.

Inheritance
Object
Clamped
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class Clamped : ScrollRect.Modifier
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:playgroundMarkup="clr-namespace:Mux.Playground.Markup;assembly=Assembly-CSharp">
    <!--
      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 />
    <playgroundMarkup:ScrollViewTransform Movement="{mu:Clamped}" />
</m:RectTransform>

Methods

| Improve this Doc View Source

InitializeBodyInMainThread()

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