Struct NoiseSettings.NoiseTransformSettings | Terrain Tools | 3.0.2-preview.3
docs.unity3d.com
    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
    [Tooltip("Whether or not the 2D noise field should be flipped along the X-axis")]
    public bool flipScaleX
    Field Value
    Type Description
    Boolean

    flipScaleY

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

    Declaration
    [Tooltip("Whether or not the 2D noise field should be flipped along the Y-axis")]
    public bool flipScaleY
    Field Value
    Type Description
    Boolean

    flipScaleZ

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

    Declaration
    [Tooltip("Whether or not the 2D noise field should be flipped along the Z-axis")]
    public bool flipScaleZ
    Field Value
    Type Description
    Boolean

    rotation

    The rotation used when generating the noise field

    Declaration
    [Tooltip("The rotation of the generated noise")]
    public Vector3 rotation
    Field Value
    Type Description
    Vector3

    scale

    The scale used when generating the noise field

    Declaration
    [Tooltip("The scale of the generated noise")]
    public Vector3 scale
    Field Value
    Type Description
    Vector3

    translation

    The translation used when generating the noise field

    Declaration
    [Tooltip("The translational offset to use when generating the noise")]
    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 © 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