docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NormalMapFromGrayScale

    Indicates whether to create the normal map from a grayscale heightmap.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.Importer.USD
    Assembly: Unity.Importer.USD.Editor.dll
    Syntax
    [Serializable]
    public struct NormalMapFromGrayScale

    Fields

    createFromGrayScale

    True if normal map should be created from a grayscale heightmap.

    Declaration
    public bool createFromGrayScale
    Field Value
    Type Description
    bool
    See Also
    convertToNormalMap

    heightmapScale

    Controls the amount of bumpiness.

    Declaration
    public float heightmapScale
    Field Value
    Type Description
    float
    See Also
    heightmapScale

    normalMapFilter

    Specifies how to calculate the bumpiness.

    Declaration
    public TextureImporterNormalFilter normalMapFilter
    Field Value
    Type Description
    TextureImporterNormalFilter
    See Also
    normalMapFilter
    In This Article
    Back to top
    Copyright © 2024 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)