FMUtilities.

EstimateRadiusFromMesh(Transform, SkinnedMeshRenderer) Method

Summary

Tries to calculate an appropriate radius for the `transform` based on the UnityEngine.SkinnedMeshRenderer.sharedMeshs.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion
Containing Type
FMUtilities

Syntax

public static float EstimateRadiusFromMesh(Transform transform, SkinnedMeshRenderer renderer)

Parameters

Name Type Description
transform Transform
renderer SkinnedMeshRenderer

Return Value

Type Description
float