EventSequenceDrawer Class

Summary

[Editor-Only] Draws the Inspector GUI for a Animancer.AnimancerEvent.Sequence.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["EventSequenceDrawer"] class Type type-node

Syntax

public class EventSequenceDrawer

Methods

Name Value Summary
CalculateHeight(AnimancerEvent.Sequence) float
Calculates the number of vertical pixels required to draw the contents of the `events`.
CalculateHeight(int) float
Calculates the number of vertical pixels required to draw the specified `lineCount` using the Animancer.Editor.AnimancerGUI.LineHeight and Animancer.Editor.AnimancerGUI.StandardSpacing.
static
CalculateHeight(MulticastDelegate) float
Calculates the number of vertical pixels required to draw the specified System.Delegate.
static
CalculateLineCount(AnimancerEvent.Sequence) int
Calculates the number of lines required to draw the contents of the `events`.
CalculateLineCount(MulticastDelegate) int
Calculates the number of lines required to draw the specified System.Delegate.
static
Draw(Rect, AnimancerEvent.Sequence, GUIContent) void
Draws the GUI for the `events`.
Draw(Rect, Delegate) void
Draws the target and name of the specified System.Delegate.
static
Draw(Rect, string, AnimancerEvent) void
Draws the GUI for the `animancerEvent`.
static
DrawInvocationList(Rect, MulticastDelegate) void
Draws the target and name of the specified System.Delegate.
static
Get(AnimancerEvent.Sequence) EventSequenceDrawer
Returns a cached Animancer.Editor.EventSequenceDrawer for the `events`.
static
GetSummary(AnimancerEvent.Sequence) string
Returns a summary of the `events`.
static