 | ITetrapodXTPart, TChainMatchPartsTPart2, TChain2, TDictValue Method |
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static bool MatchParts<TPart2, TChain2, TDictValue>(
ITetrapod<TPart, TChain> from,
ITetrapod<TPart2, TChain2> to,
ref Dictionary<TPart, TDictValue> result
)
where TPart2 :
where TChain2 : struct, new(), IBodyChain<TChain2, TPart2>
where TDictValue : Component
Parameters
- from
- Type: CandlelightITetrapodTPart, TChain
ITetrapodTPart, TChain whose definition should be used as keys. - to
- Type: CandlelightITetrapodTPart2, TChain2
ITetrapodTPart, TChain to match to. - result
- Type: System.Collections.GenericDictionaryTPart, TDictValue
if the hierarchies contain all the same parts; otherwise, .
Type Parameters
- TPart2
- The part type in the other tetrapod.
- TChain2
- The chain type in the other tetrapod.
- TDictValue
- The value type of the mapping dictionary.
Return Value
Type:
Boolean if the hierarchies contain all the same parts; otherwise,
.
See Also