AnimancerGUI.

LayoutRect(float, AnimancerGUI.SpacingMode) Method

Summary

Uses UnityEngine.GUILayoutUtility.GetRect(System.Single,System.Single) to get a UnityEngine.Rect with the specified `height` and the Animancer.Editor.AnimancerGUI.StandardSpacing added according to the specified `spacing`.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
AnimancerGUI

Syntax

public static Rect LayoutRect(float height, AnimancerGUI.SpacingMode spacing)

Parameters

Name Type Description
height float
spacing AnimancerGUI.SpacingMode

Return Value

Type Description
Rect