Show / Hide Table of Contents

Class Inertia

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

Inheritance
Object
Inertia
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class Inertia : 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 Inertia="{mu:Inertia}" />
</m:RectTransform>

Fields

| Improve this Doc View Source

DecelerationRateProperty

Backing store for the DecelerationRate property.

Declaration
public static readonly BindableProperty DecelerationRateProperty
Field Value
Type Description
BindableProperty

Properties

| Improve this Doc View Source

DecelerationRate

A property that represents UnityEngine.UI.ScrollRect.decelerationRate.

Declaration
public float DecelerationRate { get; set; }
Property Value
Type Description
Single
Remarks

This is the content property; you do not have to specify the property name in XAML.

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