docs.unity3d.com
    Show / Hide Table of Contents

    Class UnwrapParameters

    Store UV2 unwrapping parameters.

    Inheritance
    Object
    UnwrapParameters
    Namespace: UnityEngine.ProBuilder
    Syntax
    [Serializable]
    public sealed class UnwrapParameters

    Constructors

    UnwrapParameters()

    Declaration
    public UnwrapParameters()

    UnwrapParameters(UnwrapParameters)

    Copy constructor.

    Declaration
    public UnwrapParameters(UnwrapParameters other)
    Parameters
    Type Name Description
    UnwrapParameters other

    The UnwrapParameters to copy properties from.

    Properties

    angleError

    Declaration
    public float angleError { get; set; }
    Property Value
    Type Description
    Single

    Measured in percents. Angle error measures deviation of UV angles from geometry angles. Area error measures deviation of UV triangles area from geometry triangles if they were uniformly scaled.

    areaError

    Declaration
    public float areaError { get; set; }
    Property Value
    Type Description
    Single

    Does... something.

    hardAngle

    Declaration
    public float hardAngle { get; set; }
    Property Value
    Type Description
    Single

    Angle between neighbor triangles that will generate seam.

    packMargin

    Declaration
    public float packMargin { get; set; }
    Property Value
    Type Description
    Single

    Measured in pixels, assuming mesh will cover an entire 1024x1024 lightmap.

    Methods

    Reset()

    Reset the unwrap parameters to default values.

    Declaration
    public void Reset()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    Back to top
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)