Show / Hide Table of Contents

Class UIVertex

A markup extension that represents UnityEngine.UIVertex.

Inheritance
Object
UIVertex
Implements
IMarkupExtension<UnityEngine.UIVertex>
IMarkupExtension
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public class UIVertex : object, IMarkupExtension<UnityEngine.UIVertex>, IMarkupExtension
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 />
    <mue:UIMesh>
        <!--
            You only have to wrap items with mue:UIMesh.Items
            when you compile the interpreter with IL2CPP.
            It is because ContentPropertyAttribute does not work with IL2CPP.
        -->
        <mue:UIMesh.Items>
            <mue:UIVertexTriangleStream>
                <!--
                    Wrapping with mue:UIVertexTriangleStream.Verts
                    for the same reason
                -->
                <mue:UIVertexTriangleStream.Verts>
                    <m:UIVertex Position="{m:Vector3 X=-0.5, Y=-0.5, Z=0}" />
                    <m:UIVertex Position="{m:Vector3 X=0, Y=0.5, Z=0}" />
                    <m:UIVertex Position="{m:Vector3 X=0.5, Y=-0.5, Z=0}" />
                </mue:UIVertexTriangleStream.Verts>
            </mue:UIVertexTriangleStream>
        </mue:UIMesh.Items>
    </mue:UIMesh>
</m:RectTransform>

Properties

| Improve this Doc View Source

Color

A property that represents UnityEngine.UIVertex.color.

Declaration
public UnityEngine.Color32 Color { get; set; }
Property Value
Type Description
UnityEngine.Color32
| Improve this Doc View Source

Normal

A property that represents UnityEngine.UIVertex.normal.

Declaration
public UnityEngine.Vector3 Normal { get; set; }
Property Value
Type Description
UnityEngine.Vector3
| Improve this Doc View Source

Position

A property that represents UnityEngine.UIVertex.position.

Declaration
public UnityEngine.Vector3 Position { get; set; }
Property Value
Type Description
UnityEngine.Vector3
| Improve this Doc View Source

Tangent

A property that represents UnityEngine.UIVertex.tangent.

Declaration
public UnityEngine.Vector4 Tangent { get; set; }
Property Value
Type Description
UnityEngine.Vector4
| Improve this Doc View Source

Uv0

A property that represents UnityEngine.UIVertex.uv0.

Declaration
public UnityEngine.Vector2 Uv0 { get; set; }
Property Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

Uv1

A property that represents UnityEngine.UIVertex.uv1.

Declaration
public UnityEngine.Vector2 Uv1 { get; set; }
Property Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

Uv2

A property that represents UnityEngine.UIVertex.uv2.

Declaration
public UnityEngine.Vector2 Uv2 { get; set; }
Property Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

Uv3

A property that represents UnityEngine.UIVertex.uv3.

Declaration
public UnityEngine.Vector2 Uv3 { get; set; }
Property Value
Type Description
UnityEngine.Vector2

Methods

| Improve this Doc View Source

ProvideValue(IServiceProvider)

Declaration
public UnityEngine.UIVertex ProvideValue(IServiceProvider serviceProvider)
Parameters
Type Name Description
IServiceProvider serviceProvider
Returns
Type Description
UnityEngine.UIVertex

Implements

Xamarin.Forms.Xaml.IMarkupExtension<T>
Xamarin.Forms.Xaml.IMarkupExtension
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX