Click or drag to resize
TetrapodNamingConventionGetCharacterNamePrefix Method
Gets the character name prefix.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static string GetCharacterNamePrefix(
	Transform characterRoot
)

Parameters

characterRoot
Type: Transform
Transform component at the root of the character's hierarchy.

Return Value

Type: String
The character name prefix.
Remarks
This method works by trying to find the best match for a root/pelvis name and extracting whatever prefix it finds. If it detects a prefix that looks like a Human IK control rig, it will keep searching for the next possible match.
See Also