Methods
convert(fromName, targetScheme) → {string}
Convert any animation name to any other scheme
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
fromName |
string | Source animation name |
|
targetScheme |
string | hierarchical |
Target naming scheme ('legacy', 'artist', 'hierarchical', 'semantic') |
- Source:
Returns:
Converted animation name
- Type
- string
convertBatch(animations, targetScheme) → {Object}
Batch convert multiple animations
Parameters:
| Name | Type | Description |
|---|---|---|
animations |
Array.<string> |
Array of animation names |
targetScheme |
string | Target naming scheme |
- Source:
Returns:
Mapping of original names to converted names
- Type
- Object
detectScheme(name) → {Object|null}
Detect which naming scheme is being used
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string |
Animation name to analyze |
- Source:
Returns:
Detection result with scheme and extracted info
- Type
- Object | null
getAllNames(animationName) → {Object}
Get all possible names for an animation
Parameters:
| Name | Type | Description |
|---|---|---|
animationName |
string | Source animation name |
- Source:
Returns:
Object with all naming scheme variants
- Type
- Object
validateAnimationName(name) → {Object}
Validate animation name format
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string |
Animation name to validate |
- Source:
Returns:
Validation result with issues and suggestions
- Type
- Object