AnimationGathererRecursionGuard Struct

Summary

A system which protects the Animancer.Editor.AnimationGatherer from checking the same object multiple times.
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
  • IDisposable
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IDisposable"] Type["AnimationGathererRecursionGuard"] class Type type-node

Syntax

public struct AnimationGathererRecursionGuard : ValueType, IDisposable

Fields

Name Constant Value Summary
DontGatherFrom
Types which will be skipped when attempting to gather animations from an unknown object type.
static
MaxFieldDepth
The maximum number of recursive fields to check through before stopping.
static

Methods

Name Value Summary
Begin() AnimationGathererRecursionGuard
Call this with a using statement before calling Animancer.AnimationGathererRecursionGuard.HasCheckedObject(System.Object).
static
Dispose() void
Ends a block started by Animancer.AnimationGathererRecursionGuard.Begin.
HasCheckedObject(Object) bool
Stores the specified object and returns true if it wasn't already stored.
static