Class ThermalEroder | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ThermalEroder

    Inheritance
    System.Object
    ThermalEroder
    Namespace: Erosion
    Syntax
    [Serializable]
    public class ThermalEroder : ITerrainEroder

    Fields

    m_AddHeightAmt

    Declaration
    public int m_AddHeightAmt
    Field Value
    Type Description
    System.Int32

    m_AngleOfRepose

    Declaration
    public Vector2 m_AngleOfRepose
    Field Value
    Type Description
    Vector2

    m_dt

    Declaration
    public float m_dt
    Field Value
    Type Description
    System.Single

    m_MatPreset

    Declaration
    public int m_MatPreset
    Field Value
    Type Description
    System.Int32

    m_ReposeJitter

    Declaration
    public int m_ReposeJitter
    Field Value
    Type Description
    System.Int32

    m_ReposeNoiseAmount

    Declaration
    public float m_ReposeNoiseAmount
    Field Value
    Type Description
    System.Single

    m_ReposeNoiseScale

    Declaration
    public float m_ReposeNoiseScale
    Field Value
    Type Description
    System.Single

    m_ThermalIterations

    Declaration
    public int m_ThermalIterations
    Field Value
    Type Description
    System.Int32

    Properties

    inputTextures

    Declaration
    public Dictionary<string, RenderTexture> inputTextures { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, RenderTexture>
    Implements
    ITerrainEroder.inputTextures

    outputTextures

    Declaration
    public Dictionary<string, RenderTexture> outputTextures { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, RenderTexture>
    Implements
    ITerrainEroder.outputTextures

    Methods

    ErodeHeightmap(Vector3, Rect, Vector2, Boolean)

    Declaration
    public void ErodeHeightmap(Vector3 terrainDimensions, Rect domainRect, Vector2 texelSize, bool invertEffect = false)
    Parameters
    Type Name Description
    Vector3 terrainDimensions
    Rect domainRect
    Vector2 texelSize
    System.Boolean invertEffect
    Implements
    ITerrainEroder.ErodeHeightmap(Vector3, Rect, Vector2, Boolean)

    OnEnable()

    Declaration
    public void OnEnable()
    Implements
    ITerrainEroder.OnEnable()
    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