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
Declarationpublic Color effectColor { get; set; }
Property Value effectDistance
How far is the shadow from the graphic.
Declarationpublic Vector2 effectDistance { get; set; }
Property Value useGraphicAlpha
Should the shadow inherit the alpha from the graphic?
Declarationpublic 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.
Declarationprotected 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 colorShadow color
int startThe start index in the verts list
int endThe end index in the vers list
float xThe shadows x offset
float yThe shadows y offset
ApplyShadowZeroAlloc(List<UIVertex>, Color32, int, int, float, float) Declarationprotected 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.
Declarationpublic 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