Show / Hide Table of Contents

Class Vector3

A markup extension that represents UnityEngine.Vector3.

Inheritance
Object
Vector3
Implements
IMarkupExtension<UnityEngine.Vector3>
IMarkupExtension
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public class Vector3 : object, IMarkupExtension<UnityEngine.Vector3>, 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 />
    <m:RectTransform LocalEulerAngles="{m:Vector3 X=45, Y=30, Z=15}">
        <mu:Image />
    </m:RectTransform>
</m:RectTransform>

Properties

| Improve this Doc View Source

X

A property that represents UnityEngine.Vector3.x.

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

Y

A property that represents UnityEngine.Vector3.y.

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

Z

A property that represents UnityEngine.Vector3.z.

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

Methods

| Improve this Doc View Source

ProvideValue(IServiceProvider)

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

Implements

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