docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ImporterBase

    Basic functionality shared among Importers.

    Inheritance
    object
    ImporterBase
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Formats.USD
    Assembly: solution.dll
    Syntax
    public static class ImporterBase

    Methods

    Name Description
    ApproximatelyEqual(Matrix4x4, Matrix4x4)

    Compare two 4x4 matrices for approximate equality.

    GetOrAddComponent<T>(GameObject, bool)

    Get a typed component from the gameobject or add it if it doesn't already exist.

    MakeRelativePath(string, string)

    Creates a relative path from one file or folder to another.

    MoveComponentFirst(Component)

    Moves the given component to be first in the list on the GameObject. If not in editor, this function is a no-op.

    MoveComponentLast(Component)

    Moves the given component to be last in the list on the GameObject. If not in editor, this function is a no-op.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)