Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UI.Shadow.ApplyShadow

Switch to Manual
protected function ApplyShadow(verts: List<UIVertex>, color: Color32, start: int, end: int, x: float, y: float): void;

Parameters

verts Verts List.
color Shadow Color.
start Start Index.
end End Index.
x Shadow x offset.
y Shadow y offset.

Description

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