Class ShowSkeleton
Displays the skeletal hierarchy of a loaded model by drawing lines between each bone (transform).
Namespace: TriLibCore.Samples
Assembly: TriLibCore.Samples.dll
Syntax
public class ShowSkeleton : MonoBehaviour
Methods
Setup(AssetLoaderContext, AssetViewer)
Initializes this skeleton display by collecting bone transforms from the loaded model, and optionally adjusts the scene bounds in the provided AssetViewer.
Declaration
public void Setup(AssetLoaderContext assetLoaderContext, AssetViewer assetViewer)
Parameters
| Type | Name | Description |
|---|---|---|
| AssetLoaderContext | assetLoaderContext | The AssetLoaderContext containing the loaded model hierarchy. |
| AssetViewer | assetViewer | The AssetViewer controlling the camera and scene visualization. |