Tanoda
TriLibCore.Mappers.ByNameHumanoidAvatarMapper Class Reference

Represents a Mapper that finds humanoid Avatar bones by name-matching. More...

Inheritance diagram for TriLibCore.Mappers.ByNameHumanoidAvatarMapper:

Public Member Functions

override Dictionary< BoneMapping, Transform > Map (AssetLoaderContext assetLoaderContext)
 
void AddMapping (HumanBodyBones humanBodyBones, HumanLimit humanLimit, params string[] boneNames)
 Adds a new mapping item, containing the humanoid bone type, the limits, and the list of names to look for to the query. More...
 

Public Attributes

StringComparisonMode stringComparisonMode
 String comparison mode to use on the mapping. More...
 
bool CaseInsensitive = true
 Is the string comparison case insensitive? More...
 
List< BoneMapping > BonesMapping
 The human bone to Unity bone relationship list. More...
 

Detailed Description

Represents a Mapper that finds humanoid Avatar bones by name-matching.

Definition at line 11 of file ByNameHumanoidAvatarMapper.cs.

Member Function Documentation

◆ AddMapping()

void TriLibCore.Mappers.ByNameHumanoidAvatarMapper.AddMapping ( HumanBodyBones  humanBodyBones,
HumanLimit  humanLimit,
params string[]  boneNames 
)

Adds a new mapping item, containing the humanoid bone type, the limits, and the list of names to look for to the query.

Parameters
humanBodyBonesThe Human Body Bones (Humanoid Bone type).
humanLimitThe bone Human Limit.
boneNamesThe bones Transform names.

Definition at line 84 of file ByNameHumanoidAvatarMapper.cs.

◆ Map()

override Dictionary< BoneMapping, Transform > TriLibCore.Mappers.ByNameHumanoidAvatarMapper.Map ( AssetLoaderContext  assetLoaderContext)

Definition at line 30 of file ByNameHumanoidAvatarMapper.cs.

Member Data Documentation

◆ BonesMapping

List<BoneMapping> TriLibCore.Mappers.ByNameHumanoidAvatarMapper.BonesMapping

The human bone to Unity bone relationship list.

Definition at line 27 of file ByNameHumanoidAvatarMapper.cs.

◆ CaseInsensitive

bool TriLibCore.Mappers.ByNameHumanoidAvatarMapper.CaseInsensitive = true

Is the string comparison case insensitive?

Definition at line 22 of file ByNameHumanoidAvatarMapper.cs.

◆ stringComparisonMode

StringComparisonMode TriLibCore.Mappers.ByNameHumanoidAvatarMapper.stringComparisonMode

String comparison mode to use on the mapping.

Definition at line 17 of file ByNameHumanoidAvatarMapper.cs.


The documentation for this class was generated from the following file: