SkinnedMeshRenderer Extension
Enhances the SkinnedMeshRenderer Inspector. It is especially helpful on avatar face meshes with many BlendShapes.
ON / OFF
Toggle it on the SkinnedMeshRenderer item of さたにあしょっぴんぐ/エディタカスタマイザー/Editor Setting (Satania Shopping / Editor Customizer / Editor Setting).
BlendShapes
- Search Filter — Filter by name. No more scrolling through hundreds of shapes to find the one you want
- Auto Grouping — Infers groups from naming conventions and shows them collapsed
- Mask Filter — Choose which groups to display
- 「有効化されたブレンドシェイプのみ表示」 (Show only active BlendShapes) mode — Lists only the shapes whose value is not 0
- Value copy & paste — Two paste modes are supported:
- Paste by order (index-based)
- Paste by name (to the shapes with matching names; works even between meshes with a different order)
- Reset all BlendShapes to 0 at once
- Multi-selection — click BlendShape names to select them, with the same feel as Explorer: Shift for a range, Ctrl / Cmd to toggle individually, Ctrl+Shift to add a range, Esc to clear
- Moving the slider of a selected row (including dragging on the name or typing a value) writes the same value to every selected row (one Undo step)
- Right-click on a name → 「選択を 0 にする」 (Set selection to 0), 「選択を最大値にする」 (Set selection to max), Revert Selected Shapes (reverts the prefab overrides of the selected rows on a prefab instance; disabled when nothing is overridden), 「選択した値をコピー」 (Copy selected values), 「表示中を全て選択」 (Select all visible), 「選択を解除」 (Clear selection). Unity's standard Copy / Paste / Revert / Apply items appear in the same menu
- Selected rows hidden by the search or mask filter stay selected, and the header shows 「N 件選択中 (非表示 M)」 (N selected, M hidden). Toggling 「有効化されたブレンドシェイプのみ表示」 (show enabled only) clears the selection
- Can be turned off with 「BlendShape の複数選択」 on the SkinnedMeshRenderer item of Editor Setting (default ON)
Bone Information
- m_Bones list — Shows the normally hidden
m_Bonesarray below Materials as read-only (click to Ping)- The list cannot be reordered or resized, because that would break the correspondence between
bonesandbindposesand corrupt the skinning
- The list cannot be reordered or resized, because that would break the correspondence between
- Used bones (with weights) list — Lists only the bones that actually have weights painted on the mesh
- Off by default. Enable it in the SkinnedMeshRenderer tab of the window opened from the main menu
さたにあしょっぴんぐ/エディタカスタマイザー/Editor Setting(Satania Shopping / Editor Customizer / Editor Setting)
- Off by default. Enable it in the SkinnedMeshRenderer tab of the window opened from the main menu
Implementation Notes (for Developers)
- Values are formatted locale-independently (
InvariantCulture), so copied values can be exchanged with people in different environments - The used bone list is aggregated with
Mesh.GetAllBoneWeightsand cached per mesh