Struct NoiseSettings.NoiseTransformSettings | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Struct NoiseSettings.NoiseTransformSettings

    Struct containing information about the transform (translation, rotation, scale) to be applied to the noise. Usage of these values is depending on the actual noise implementation.

    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    [Serializable]
    public struct NoiseTransformSettings

    Fields

    flipScaleX

    Determines whether the scale should be flipped across the x-axis

    Declaration
    public bool flipScaleX
    Field Value
    Type Description
    System.Boolean

    flipScaleY

    Determines whether the scale should be flipped across the y-axis

    Declaration
    public bool flipScaleY
    Field Value
    Type Description
    System.Boolean

    flipScaleZ

    Determines whether the scale should be flipped across the z-axis

    Declaration
    public bool flipScaleZ
    Field Value
    Type Description
    System.Boolean

    rotation

    The rotation used when generating the noise field

    Declaration
    public Vector3 rotation
    Field Value
    Type Description
    Vector3

    scale

    The scale used when generating the noise field

    Declaration
    public Vector3 scale
    Field Value
    Type Description
    Vector3

    translation

    The translation used when generating the noise field

    Declaration
    public Vector3 translation
    Field Value
    Type Description
    Vector3

    Methods

    Reset()

    Resets the members of the transform struct to their default states and values

    Declaration
    public void Reset()
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX