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

Represents a Mapper that searches for a root bone on the Models by the bone names. More...

Inheritance diagram for TriLibCore.Mappers.ByNameRootBoneMapper:
TriLibCore.Mappers.RootBoneMapper

Public Member Functions

override Transform Map (AssetLoaderContext assetLoaderContext, IList< Transform > bones)
 

 
- Public Member Functions inherited from TriLibCore.Mappers.RootBoneMapper
virtual Transform Map (AssetLoaderContext assetLoaderContext)
 
virtual Transform Map (AssetLoaderContext assetLoaderContext, IList< Transform > bones)
 

Public Attributes

StringComparisonMode StringComparisonMode
 String comparison mode to use on the mapping.
 
bool CaseInsensitive = true
 Is the string comparison case insensitive?
 
string[] RootBoneNames = { "Hips", "Bip01", "Pelvis" }
 Root bone names to be searched.
 

Detailed Description

Represents a Mapper that searches for a root bone on the Models by the bone names.

Member Function Documentation

◆ Map()

override Transform TriLibCore.Mappers.ByNameRootBoneMapper.Map ( AssetLoaderContext  assetLoaderContext,
IList< Transform >  bones 
)
virtual


Reimplemented from TriLibCore.Mappers.RootBoneMapper.