Class RectTransformLayout
An abstract class that represents layout of UnityEngine.RectTransform.
Inherited Members
Xamarin.Forms.BindableObject.add_PropertyChanging(Xamarin.Forms.PropertyChangingEventHandler)
Xamarin.Forms.BindableObject.remove_PropertyChanging(Xamarin.Forms.PropertyChangingEventHandler)
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public abstract class RectTransformLayout : Component<UnityEngine.RectTransform>.Modifier, INotifyPropertyChanged, IDynamicResourceHandler
Fields
| Improve this Doc View SourcePivotProperty
Backing store for the Pivot property.
Declaration
public static readonly BindableProperty PivotProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourcePivot
A property that represents UnityEngine.RectTransform.pivot.
Declaration
public float Pivot { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
| Improve this Doc View SourceInitializeBodyInMainThread()
A method to initialize component.
Declaration
protected override void InitializeBodyInMainThread()
Overrides
Mux.Markup.Component<UnityEngine.RectTransform>.Modifier.InitializeBodyInMainThread()
Remarks
The caller must call this method in the main thread.
The caller must ensure Body property is not null.
Set(UnityEngine.Vector2, Single)
A method to set the component represented by this object to the given vector.
Declaration
protected UnityEngine.Vector2 Set(UnityEngine.Vector2 vector, float value)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector2 | vector | |
Single | value |
Returns
Type | Description |
---|---|
UnityEngine.Vector2 |