logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AnimationClipCopyEngine.Input

    Everything Create(Input) needs.

    Inheritance
    object
    AnimationClipCopyEngine.Input
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Editor.AnimationHub.Engine
    Assembly: Serenity.AnimationHub.Editor.dll
    Syntax
    public sealed class AnimationClipCopyEngine.Input

    Constructors

    Input()

    Declaration
    public Input()

    Fields

    AssetName

    File name (without extension) for the new asset. Empty resolves to "<SourceClip>_Editable".

    Declaration
    public string AssetName
    Field Value
    Type Description
    string

    Controller

    The controller to rewire. May be null — Create(Input) then skips rewiring even when RewireController is true, since there is nothing to rewire.

    Declaration
    public AnimatorController Controller
    Field Value
    Type Description
    AnimatorController

    DestinationFolderPath

    Folder the new .anim asset is created under. Defaults to the module's shared media folder; falls back to "<source clip's folder>/Animations" if this is ever left blank and the source clip has no folder of its own to fall back to either.

    Declaration
    public string DestinationFolderPath
    Field Value
    Type Description
    string

    RegisterAsAddressables

    Declaration
    public bool RegisterAsAddressables
    Field Value
    Type Description
    bool

    RewireController

    Whether to repoint every state/blend-tree child in Controller that used SourceClip to the new copy. Has no effect when Controller is null.

    Declaration
    public bool RewireController
    Field Value
    Type Description
    bool

    SourceClip

    The clip to copy — already resolved by the caller (FBX sub-asset resolution lives in ModelClipCreator and the hub window, not here).

    Declaration
    public AnimationClip SourceClip
    Field Value
    Type Description
    AnimationClip
    In this article
    © 2026 Serenity. All Rights Reserved