docs.unity.cn
    Show / Hide Table of Contents

    Class SphereImporter

    A collection of methods used for importing USD Sphere data into Unity.

    Inheritance
    Object
    SphereImporter
    Namespace: Unity.Formats.USD
    Syntax
    public static class SphereImporter

    Methods

    BuildSphere(SphereSample, GameObject, SceneImportOptions, Boolean)

    Copy sphere data from USD to Unity with the given import options.

    Declaration
    public static void BuildSphere(SphereSample usdSphere, GameObject go, SceneImportOptions options, bool skinnedMesh = false)
    Parameters
    Type Name Description
    SphereSample usdSphere
    GameObject go
    SceneImportOptions options
    Boolean skinnedMesh

    Whether the Cube to build is skinned or not. This will allow to determine which Renderer to create on the GameObject (MeshRenderer or SkinnedMeshRenderer). Default value is false (not skinned).

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, June 23, 2023