Show / Hide Table of Contents

Class Vector3Int

A markup extension that represents UnityEngine.Vector3Int.

Inheritance
Object
Vector3Int
Implements
IMarkupExtension<UnityEngine.Vector3Int>
IMarkupExtension
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public class Vector3Int : object, IMarkupExtension<UnityEngine.Vector3Int>, 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:Triangle Indices="{m:Vector3Int X=0, Y=1, Z=2}" />
            <mue:Vert Value="{m:UIVertex Color={m:Color R=0, G=0, B=1}, Position={m:Vector3 X=-0.5, Y=-0.5, Z=0}}" />
            <mue:Vert Value="{m:UIVertex Color={m:Color R=0, G=1, B=0}, Position={m:Vector3 X=0, Y=0.5, Z=0}}" />
            <mue:Vert Value="{m:UIVertex Color={m:Color R=1, G=0, B=0}, Position={m:Vector3 X=0.5, Y=-0.5, Z=0}}" />
        </mue:UIMesh.Items>
    </mue:UIMesh>
</m:RectTransform>

Properties

| Improve this Doc View Source

X

A property that represents UnityEngine.Vector3Int.x.

Declaration
public int X { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Y

A property that represents UnityEngine.Vector3Int.y.

Declaration
public int Y { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Z

A property that represents UnityEngine.Vector3Int.z.

Declaration
public int Z { get; set; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

ProvideValue(IServiceProvider)

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

Implements

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