A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.unity3d.com/Packages/com.unity.ugui@1.0/api/UnityEngine.UI.RectMask2D.html below:

Class RectMask2D Inherited Members

Component.GetComponentIndex()

Object.InstantiateAsync<T>(T)

Object.InstantiateAsync<T>(T, Transform)

Object.InstantiateAsync<T>(T, Vector3, Quaternion)

Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)

Object.InstantiateAsync<T>(T, InstantiateParameters)

Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)

Object.Instantiate(Object, Scene)

Object.Instantiate<T>(T, InstantiateParameters)

Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)

Object.FindObjectsByType<T>(FindObjectsSortMode)

Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)

Object.FindFirstObjectByType<T>()

Object.FindAnyObjectByType<T>()

Object.FindFirstObjectByType<T>(FindObjectsInactive)

Object.FindAnyObjectByType<T>(FindObjectsInactive)

Namespace: UnityEngine.UI Assembly: UnityEngine.UI.dll Syntax
[AddComponentMenu("UI/Rect Mask 2D", 14)]
[ExecuteAlways]
[DisallowMultipleComponent]
[RequireComponent(typeof(RectTransform))]
public class RectMask2D : UIBehaviour, IClipper, ICanvasRaycastFilter
Constructors RectMask2D() Declaration Properties canvasRect

Get the Rect for the mask in canvas space.

Declaration
public Rect canvasRect { get; }
Property Value padding

Padding to be applied to the masking X = Left Y = Bottom Z = Right W = Top

Declaration
public Vector4 padding { get; set; }
Property Value rectTransform

Helper function to get the RectTransform for the mask.

Declaration
public RectTransform rectTransform { get; }
Property Value softness

The softness to apply to the horizontal and vertical axis.

Declaration
public Vector2Int softness { get; set; }
Property Value Methods AddClippable(IClippable)

Add a IClippable to be tracked by the mask.

Declaration
public void AddClippable(IClippable clippable)
Parameters Type Name Description IClippable clippable

Add the clippable object for this mask

IsRaycastLocationValid(Vector2, Camera) Declaration
public virtual bool IsRaycastLocationValid(Vector2 sp, Camera eventCamera)
Parameters Returns OnCanvasHierarchyChanged()

Called when the state of the parent Canvas is changed.

Declaration
protected override void OnCanvasHierarchyChanged()
Overrides OnDestroy() Declaration
protected override void OnDestroy()
Overrides OnDisable() Declaration
protected override void OnDisable()
Overrides OnEnable() Declaration
protected override void OnEnable()
Overrides OnTransformParentChanged() Declaration
protected override void OnTransformParentChanged()
Overrides OnValidate() Declaration
protected override void OnValidate()
Overrides PerformClipping()

Function to to cull / clip children elements.

Declaration
public virtual void PerformClipping()
RemoveClippable(IClippable)

Remove an IClippable from being tracked by the mask.

Declaration
public void RemoveClippable(IClippable clippable)
Parameters Type Name Description IClippable clippable

Remove the clippable object from this mask

UpdateClipSoftness() Declaration
public virtual void UpdateClipSoftness()
Implements

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4