Class BaseBrushUIGroup.OnPaintOccurrence | Terrain Tools | 3.0.2-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class BaseBrushUIGroup.OnPaintOccurrence

    Inheritance
    Object
    BaseBrushUIGroup.OnPaintOccurrence
    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    [Serializable]
    public class OnPaintOccurrence

    Constructors

    OnPaintOccurrence(Texture, Single, Single, Single, Single, Single)

    Declaration
    public OnPaintOccurrence(Texture brushTexture, float brushSize, float brushStrength, float brushRotation, float uvX, float uvY)
    Parameters
    Type Name Description
    Texture brushTexture
    Single brushSize
    Single brushStrength
    Single brushRotation
    Single uvX
    Single uvY

    Fields

    brushRotation

    Declaration
    [SerializeField]
    public float brushRotation
    Field Value
    Type Description
    Single

    brushSize

    Declaration
    [SerializeField]
    public float brushSize
    Field Value
    Type Description
    Single

    brushStrength

    Declaration
    [SerializeField]
    public float brushStrength
    Field Value
    Type Description
    Single

    brushTextureAssetPath

    Declaration
    [SerializeField]
    public string brushTextureAssetPath
    Field Value
    Type Description
    String

    duration

    Declaration
    [SerializeField]
    public float duration
    Field Value
    Type Description
    Single

    xPos

    Declaration
    [SerializeField]
    public float xPos
    Field Value
    Type Description
    Single

    yPos

    Declaration
    [SerializeField]
    public float yPos
    Field Value
    Type Description
    Single
    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