docs.unity3d.com
    Show / Hide Table of Contents

    Class VertexWeldMergeBehavior

    Welds vertices together on merged meshes.

    Inheritance
    Object
    VertexWeldMergeBehavior
    Namespace: Unity.Industrial.Forma.Core.MeshMerge
    Syntax
    public class VertexWeldMergeBehavior : IMergeBehavior

    Properties

    NormalTolerance

    Tolerance we apply to each component of a given normal.

    Declaration
    public int NormalTolerance { get; set; }
    Property Value
    Type Description
    Int32

    UVTolerance

    Tolerance we apply to each component of a given uv.

    Declaration
    public int UVTolerance { get; set; }
    Property Value
    Type Description
    Int32

    VertTolerance

    Tolerance we apply to each component of a given vertex.

    Declaration
    public int VertTolerance { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    PostMerge(MergedModel)

    Called after the meshes have been merged. Implement post-merge behavior here.

    Declaration
    public void PostMerge(MergedModel mergedModel)
    Parameters
    Type Name Description
    MergedModel mergedModel

    The MergedModel instance that was merged.

    Implements
    IMergeBehavior.PostMerge(MergedModel)

    PreMerge(MergedModel, Transform)

    Called before the originalRoot meshes are merged. Implement pre-merge behavior here

    Declaration
    public void PreMerge(MergedModel mergedModel, Transform originalRoot)
    Parameters
    Type Name Description
    MergedModel mergedModel

    The MergedModel instance will have its meshes merged.

    Transform originalRoot

    The root node of the hierarchy that will be merged.

    Implements
    IMergeBehavior.PreMerge(MergedModel, Transform)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023