Animation constants with multi-scheme support for Owen Animation System
- Source:
Members
(static, constant) ArtistAnimations
Artist-friendly animation names (Blender workflow)
- Source:
(static, constant) HierarchicalAnimations
Hierarchical animation names (organized structure)
- Source:
(static, constant) LegacyAnimations
Legacy animation names (backward compatibility)
- Source:
(static, constant) NamingSchemes
Animation naming schemes enumeration
- Source:
(static, constant) SemanticAnimations
Semantic animation names (readable camelCase)
- Source:
Methods
(static) convertAnimationName(name, targetScheme) → {string}
Convert animation name between different schemes
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string |
The source animation name |
targetScheme |
string |
The target naming scheme |
- Source:
Returns:
The converted animation name
- Type
- string
(static) getAllAnimationNames(name) → {Object}
Get all naming scheme variants for an animation
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string |
The source animation name |
- Source:
Returns:
Object with all scheme variants
- Type
- Object
(static) getAnimationsByStateAndEmotion(state, emotion, scheme) → {Array.<string>}
Get animations by state and emotion
Parameters:
| Name | Type | Description |
|---|---|---|
state |
string | The state name |
emotion |
string |
The emotion name (optional) |
scheme |
string |
The naming scheme to return (default: 'semantic') |
- Source:
Returns:
Array of animation names
- Type
- Array.<string>
(static) validateAnimationName(name) → {Object}
Validate an animation name
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string |
The animation name to validate |
- Source:
Returns:
Validation result
- Type
- Object