logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ModelClipCreator.Input

    Everything any of this type's three operations need. Each operation reads only the fields its own doc comment lists — the rest sit unused, the same reuse-one-DTO shape ModelAnimatorCreator.StateOperationResult already applies across three sibling creators.

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

    Constructors

    Input()

    Declaration
    public Input()

    Fields

    Amplitude

    Declaration
    public float Amplitude
    Field Value
    Type Description
    float

    AssetName

    File name (without extension) for the duplicated asset. Empty resolves to "<ModelName>_<ClipName>".

    Declaration
    public string AssetName
    Field Value
    Type Description
    string

    ClipName

    File name (without extension) for the new clip asset.

    Declaration
    public string ClipName
    Field Value
    Type Description
    string

    DestinationFolderPath

    Folder the duplicated .anim asset is created under. Empty resolves to "<model folder>/Animations".

    Declaration
    public string DestinationFolderPath
    Field Value
    Type Description
    string

    DurationSeconds

    Declaration
    public float DurationSeconds
    Field Value
    Type Description
    float

    ImportedModelPath

    Project-relative path of the read-only imported model (or any prefab) to create a variant of.

    Declaration
    public string ImportedModelPath
    Field Value
    Type Description
    string

    Loop

    Declaration
    public bool Loop
    Field Value
    Type Description
    bool

    OutputFolderPath

    Folder the new clip asset is created under. Required — unlike the other two operations this one has no source asset to default a sibling folder from.

    Declaration
    public string OutputFolderPath
    Field Value
    Type Description
    string

    Preset

    Declaration
    public ModelClipCreator.ClipPreset Preset
    Field Value
    Type Description
    ModelClipCreator.ClipPreset

    RegisterAsAddressables

    Declaration
    public bool RegisterAsAddressables
    Field Value
    Type Description
    bool

    SourceClipName

    The embedded clip's sub-asset name.

    Declaration
    public string SourceClipName
    Field Value
    Type Description
    string

    SourceModelPath

    Project-relative path of the imported model the source clip is embedded in.

    Declaration
    public string SourceModelPath
    Field Value
    Type Description
    string

    TargetPath

    "/"-separated binding path within the clip. Empty animates the bound GameObject itself — the same convention AnimatorEntry.GameObjectPath reports.

    Declaration
    public string TargetPath
    Field Value
    Type Description
    string

    VariantName

    File name (without extension) for the new variant asset. Empty resolves to "<ModelName>Variant".

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