FMEditorUtilities.

GatherSkinnedBones(HashSet<Transform>, Transform, SkinnedMeshRenderer[], List<Matrix4x4>[], NativeArray<BoneWeight1>[], Transform[]) Method

Summary

Adds all bones that incluence skinned meshes to the `bones`.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Editor
Containing Type
FMEditorUtilities

Syntax

public static void GatherSkinnedBones(HashSet<Transform> bones, Transform root, SkinnedMeshRenderer[] renderers, List<Matrix4x4>[] rendererBindPoses, NativeArray<BoneWeight1>[] rendererBoneWeights, out Transform[] skinnedBones)

Parameters

Name Type Description
bones HashSet<Transform>
root Transform
renderers SkinnedMeshRenderer[]
rendererBindPoses List<Matrix4x4>[]
rendererBoneWeights NativeArray<BoneWeight1>[]
skinnedBones Transform[]

Return Value

Type Description
void