docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MeshImportOptions

    Indicates how values are imported from the given scene into a UnityEngine.Mesh object.

    Inheritance
    object
    MeshImportOptions
    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
    [Serializable]
    public class MeshImportOptions

    Fields

    Name Description
    boundingBox
    color
    debugShowSkeletonBindPose

    When true, instance cubes onto each joint of the bind pose. These cubes will be presented in world space, the inverse of the actual bind pose.

    debugShowSkeletonRestPose

    When true, instance cubes onto each joint of the rest pose.

    generateLightmapUVs

    If true, a secondary UV set will be generated automatically for lightmapping.

    normals
    points

    If true, the vertex positions of the mesh will be imported.

    tangents
    topology

    If true, the topology (triangles/faces) of the mesh will be imported.

    triangulateMesh

    If true, triangulates the mesh. Should only be set to false if the mesh is guaranteed to be a valid triangle mesh before import.

    unwrapAngleError

    Maximum allowed angle distortion (0..1).

    unwrapAreaError

    Maximum allowed area distortion (0..1).

    unwrapHardAngle

    This angle (in degrees) or greater between triangles will cause seam to be created.

    unwrapPackMargin

    How much uv-islands will be padded, in pixels.

    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)