Class UIVertex
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
Declaration
public UnityEngine.Color32 Color { get; set; }
Property Value
|
Improve this Doc
View Source
Normal
Declaration
public UnityEngine.Vector3 Normal { get; set; }
Property Value
|
Improve this Doc
View Source
Position
Declaration
public UnityEngine.Vector3 Position { get; set; }
Property Value
|
Improve this Doc
View Source
Tangent
Declaration
public UnityEngine.Vector4 Tangent { get; set; }
Property Value
|
Improve this Doc
View Source
Uv0
Declaration
public UnityEngine.Vector2 Uv0 { get; set; }
Property Value
|
Improve this Doc
View Source
Uv1
Declaration
public UnityEngine.Vector2 Uv1 { get; set; }
Property Value
|
Improve this Doc
View Source
Uv2
Declaration
public UnityEngine.Vector2 Uv2 { get; set; }
Property Value
|
Improve this Doc
View Source
Uv3
Declaration
public UnityEngine.Vector2 Uv3 { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ProvideValue(IServiceProvider)
Declaration
public UnityEngine.UIVertex ProvideValue(IServiceProvider serviceProvider)
Parameters
Type |
Name |
Description |
IServiceProvider |
serviceProvider |
|
Returns
Implements