Class AnimationClipCopyEngine.Input
Everything Create(Input) needs.
Inherited Members
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 |