TriLib 2.2.8
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TriLibCore.Mappers.ByNameAnimatorOverrideAnimationClipMapper Class Reference

Represents a Mapper that finds Animator Override Animation Clips by name-matching. More...

Inheritance diagram for TriLibCore.Mappers.ByNameAnimatorOverrideAnimationClipMapper:
TriLibCore.Mappers.AnimatorOverrideAnimationClipMapper TriLibCore.Mappers.AnimationClipMapper

Public Member Functions

override AnimationClip[] MapArray (AssetLoaderContext assetLoaderContext, AnimationClip[] sourceAnimationClips)
 Configures the given Animation Clip.
Parameters
assetLoaderContextThe Asset Loader Context reference. Asset Loader Context contains the Model loading data.
sourceAnimationClipsThe source Animation Clips to process.
Returns
The processed animation clips.

 
override AnimationClip[] MapArray (AssetLoaderContext assetLoaderContext, AnimationClip[] sourceAnimationClips)
 Configures the given Animation Clip.
 
virtual AnimationClip[] MapArray (AssetLoaderContext assetLoaderContext, AnimationClip[] sourceAnimationClips)
 Configures the given Animation Clip.
 

Public Attributes

StringComparisonMode StringComparisonMode
 String comparison mode to use on the mapping.
 
bool CaseInsensitive = true
 Is the string comparison case insensitive?
 
- Public Attributes inherited from TriLibCore.Mappers.AnimatorOverrideAnimationClipMapper
AnimatorOverrideController AnimatorOverrideController
 Animator controller override to use on the animator.
 
- Public Attributes inherited from TriLibCore.Mappers.AnimationClipMapper
int CheckingOrder
 Defines the mapper priority when using other mappers in the same AssetLoaderOptions.
 

Detailed Description

Represents a Mapper that finds Animator Override Animation Clips by name-matching.

Member Function Documentation

◆ MapArray()

override AnimationClip[] TriLibCore.Mappers.ByNameAnimatorOverrideAnimationClipMapper.MapArray ( AssetLoaderContext  assetLoaderContext,
AnimationClip[]  sourceAnimationClips 
)
virtual

Configures the given Animation Clip.

Parameters
assetLoaderContextThe Asset Loader Context reference. Asset Loader Context contains the Model loading data.
sourceAnimationClipsThe source Animation Clips to process.
Returns
The processed animation clips.

Reimplemented from TriLibCore.Mappers.AnimatorOverrideAnimationClipMapper.