logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct ModelAnimationScanner.ScanOptions

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.Editor.AnimationHub.Discovery
    Assembly: Serenity.AnimationHub.Editor.dll
    Syntax
    public readonly struct ModelAnimationScanner.ScanOptions

    Constructors

    ScanOptions(bool, bool)

    Declaration
    public ScanOptions(bool includeNearbyClips, bool includeProcedural = true)
    Parameters
    Type Name Description
    bool includeNearbyClips
    bool includeProcedural

    Properties

    IncludeNearbyClips

    Declaration
    public bool IncludeNearbyClips { get; }
    Property Value
    Type Description
    bool

    Also report loose .anim clips found under the model's own folder that are neither wired into a controller nor embedded in the source model.

    IncludeProcedural

    Declaration
    public bool IncludeProcedural { get; }
    Property Value
    Type Description
    bool

    Also scan the model's Procedural Animator setup. Defaults to true for a caller that constructs ModelAnimationScanner.ScanOptions explicitly (the window always wants it); a caller that uses default(ScanOptions) — every pre-existing Unity-only test — gets false, since the struct's own default zeroes every field and those tests build no Procedural Animator fixture.

    In this article
    © 2026 Serenity. All Rights Reserved