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.MaskableGraphic.html below:

Class MaskableGraphic

A Graphic that is capable of being masked out.

Inheritance

MaskableGraphic

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
public abstract class MaskableGraphic : Graphic, ICanvasElement, IClippable, IMaskable, IMaterialModifier
Fields m_MaskMaterial Declaration
[NonSerialized]
protected Material m_MaskMaterial
Field Value m_ShouldRecalculateStencil Declaration
[NonSerialized]
protected bool m_ShouldRecalculateStencil
Field Value m_StencilValue Declaration
[NonSerialized]
protected int m_StencilValue
Field Value Properties isMaskingGraphic

Is this graphic the graphic on the same object as a Mask that is enabled.

Declaration
public bool isMaskingGraphic { get; set; }
Property Value maskable

Does this graphic allow masking.

Declaration
public bool maskable { get; set; }
Property Value onCullStateChanged

Callback issued when culling changes.

Declaration
public MaskableGraphic.CullStateChangedEvent onCullStateChanged { get; set; }
Property Value Methods Cull(Rect, bool)

See IClippable.Cull

Declaration
public virtual void Cull(Rect clipRect, bool validRect)
Parameters Type Name Description Rect clipRect bool validRect GetModifiedMaterial(Material)

See IMaterialModifier.GetModifiedMaterial

Declaration
public virtual Material GetModifiedMaterial(Material baseMaterial)
Parameters Type Name Description Material baseMaterial Returns OnCanvasHierarchyChanged()

Called when the state of the parent Canvas is changed.

Declaration
protected override void OnCanvasHierarchyChanged()
Overrides OnDisable()

Clear references.

Declaration
protected override void OnDisable()
Overrides OnEnable()

Mark the Graphic and the canvas as having been changed.

Declaration
protected override void OnEnable()
Overrides OnTransformParentChanged() Declaration
protected override void OnTransformParentChanged()
Overrides OnValidate() Declaration
protected override void OnValidate()
Overrides RecalculateClipping()

See IClippable.RecalculateClipping

Declaration
public virtual void RecalculateClipping()
RecalculateMasking()

See IMaskable.RecalculateMasking

Declaration
public virtual void RecalculateMasking()
SetClipRect(Rect, bool)

See IClippable.SetClipRect

Declaration
public virtual void SetClipRect(Rect clipRect, bool validRect)
Parameters Type Name Description Rect clipRect bool validRect SetClipSoftness(Vector2)

Set the clip softness for the IClippable.

The softness is a linear alpha falloff over clipSoftness pixels.

Declaration
public virtual void SetClipSoftness(Vector2 clipSoftness)
Parameters Type Name Description Vector2 clipSoftness

The number of pixels to apply the softness to

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