Summary
Tries to calculate an appropriate radius for the `transform` based on the
UnityEngine.SkinnedMeshRenderer.sharedMesh
s.
- 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 |