Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Interface IHexTerrainBrushUserToolStateConfig

    Inherited Members
    IHexTerrainUserToolStateConfig.TerrainToolSettings
    IUserToolStateConfig.ToolSettings
    IUserToolStateConfig.CreateUserToolState(ISmState)
    Namespace: Fwt.HexTerrains.UserTools.SM.Configs
    Assembly: fwt.hexterrains.dll
    Syntax
    public interface IHexTerrainBrushUserToolStateConfig : IHexTerrainUserToolStateConfig, IUserToolStateConfig

    Properties

    AllowRightMouseButton

    If true, applies brush by right mouse click

    Declaration
    bool AllowRightMouseButton { get; set; }
    Property Value
    Type Description
    bool

    CanChangeBrushSize

    If true, the brush size can be increased/decreased

    Declaration
    bool CanChangeBrushSize { get; set; }
    Property Value
    Type Description
    bool

    ChangeBrushSizeKey

    While this key pressed switches from changing size to changing opacity

    Declaration
    KeyCode ChangeBrushSizeKey { get; set; }
    Property Value
    Type Description
    KeyCode

    ChangeModeKey

    When this key is pressed, the brush mode will be 1 instead of default 0

    Declaration
    KeyCode ChangeModeKey { get; set; }
    Property Value
    Type Description
    KeyCode

    ChangeOpacityKey

    While this key pressed switches from changing size to changing opacity

    Declaration
    KeyCode ChangeOpacityKey { get; set; }
    Property Value
    Type Description
    KeyCode

    ChangeOpacityMultiplier

    Gets or sets the multiplier applied to opacity changes.

    Declaration
    float ChangeOpacityMultiplier { get; set; }
    Property Value
    Type Description
    float

    CursorColor

    Color of the brush cursor when this state is active

    Declaration
    Color32 CursorColor { get; set; }
    Property Value
    Type Description
    Color32

    DecreaseBrushSizeKey

    This key decreases brush size/opacity

    Declaration
    KeyCode DecreaseBrushSizeKey { get; set; }
    Property Value
    Type Description
    KeyCode

    DecreaseBrushSizeKey2

    This key decreases brush size/opacity

    Declaration
    KeyCode DecreaseBrushSizeKey2 { get; set; }
    Property Value
    Type Description
    KeyCode

    IncreaseBrushSizeKey

    This key increases brush size/opacity

    Declaration
    KeyCode IncreaseBrushSizeKey { get; set; }
    Property Value
    Type Description
    KeyCode

    IncreaseBrushSizeKey2

    This key increases brush size/opacity

    Declaration
    KeyCode IncreaseBrushSizeKey2 { get; set; }
    Property Value
    Type Description
    KeyCode

    TimeTreshold

    Next change to terrain will be applied not sooner then this time after previous change

    Declaration
    float TimeTreshold { get; set; }
    Property Value
    Type Description
    float

    Extension Methods

    HashExtensions.GetHashCode_RefType<TValue>(TValue, int)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    In this article
    Back to top Generated by DocFX