Summary
Returns a copy of the `rect` expanded by the specified `amount`
(or contracted if negative).
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- AnimancerGUI
Syntax
public static Rect Expand(this Rect rect, float amount)
Parameters
Name | Type | Description |
---|---|---|
rect | Rect | |
amount | float |
Return Value
Type | Description |
---|---|
Rect |