Search Results for

    Show / Hide Table of Contents

    Class ShowSkeleton

    Displays the skeletal hierarchy of a loaded model by drawing lines between each bone (transform).

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    ShowSkeleton
    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.

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top TriLib documentation