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

Class Shadow 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/Effects/Shadow", 80)]
public class Shadow : BaseMeshEffect, IMeshModifier
Constructors Shadow() Declaration Properties effectColor

Color for the effect

Declaration
public Color effectColor { get; set; }
Property Value effectDistance

How far is the shadow from the graphic.

Declaration
public Vector2 effectDistance { get; set; }
Property Value useGraphicAlpha

Should the shadow inherit the alpha from the graphic?

Declaration
public bool useGraphicAlpha { get; set; }
Property Value Methods ApplyShadow(List<UIVertex>, Color32, int, int, float, float)

Duplicate vertices from start to end and turn them into shadows with the given offset.

Declaration
protected void ApplyShadow(List<UIVertex> verts, Color32 color, int start, int end, float x, float y)
Parameters Type Name Description List<UIVertex> verts

Vert list to copy

Color32 color

Shadow color

int start

The start index in the verts list

int end

The end index in the vers list

float x

The shadows x offset

float y

The shadows y offset

ApplyShadowZeroAlloc(List<UIVertex>, Color32, int, int, float, float) Declaration
protected void ApplyShadowZeroAlloc(List<UIVertex> verts, Color32 color, int start, int end, float x, float y)
Parameters ModifyMesh(VertexHelper)

Call used to modify mesh. Place any custom mesh processing in this function.

Declaration
public override void ModifyMesh(VertexHelper vh)
Parameters Overrides OnValidate() Declaration
protected override void OnValidate()
Overrides 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