Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class HexTerrainBrushUserToolStateConfigAsset

    Inheritance
    object
    Object
    ScriptableObject
    UserToolStateConfigAsset
    HexTerrainUserToolStateConfigAsset
    HexTerrainBrushUserToolStateConfigAsset
    HexTerrainLayerGroupBrushUserToolStateConfigAsset
    Implements
    IHexTerrainBrushUserToolStateConfig
    IHexTerrainUserToolStateConfig
    IUserToolStateConfig
    Inherited Members
    HexTerrainUserToolStateConfigAsset._terrainToolSettings
    HexTerrainUserToolStateConfigAsset.TerrainToolSettings
    UserToolStateConfigAsset._toolSettings
    UserToolStateConfigAsset.ToolSettings
    UserToolStateConfigAsset.CreateUserToolState(ISmState)
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, CancellationToken)
    Object.InstantiateAsync<T>(T, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, InstantiateParameters, CancellationToken)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Scene)
    Object.Instantiate<T>(T, InstantiateParameters)
    Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.HexTerrains.UserTools.SM.Configs
    Assembly: fwt.hexterrains.dll
    Syntax
    public abstract class HexTerrainBrushUserToolStateConfigAsset : HexTerrainUserToolStateConfigAsset, IHexTerrainBrushUserToolStateConfig, IHexTerrainUserToolStateConfig, IUserToolStateConfig

    Fields

    _canChangeBrushSize

    Declaration
    [Tooltip("If true, the brush size can be increased/decreased")]
    [SerializeField]
    protected bool _canChangeBrushSize
    Field Value
    Type Description
    bool

    _changeBrushSizeKey

    Declaration
    [Tooltip("While this key pressed switches from changing size to changing opacity")]
    [SerializeField]
    protected KeyCode _changeBrushSizeKey
    Field Value
    Type Description
    KeyCode

    _changeModeKey

    Declaration
    [Tooltip("When this key is pressed, the brush mode will be 1 instead of default 0")]
    [SerializeField]
    protected KeyCode _changeModeKey
    Field Value
    Type Description
    KeyCode

    _changeOpacityKey

    Declaration
    [Tooltip("While this key pressed switches from changing size to changing opacity")]
    [SerializeField]
    protected KeyCode _changeOpacityKey
    Field Value
    Type Description
    KeyCode

    _changeOpacityMultiplier

    Declaration
    [Tooltip("Gets or sets the multiplier applied to opacity changes.")]
    [SerializeField]
    protected float _changeOpacityMultiplier
    Field Value
    Type Description
    float

    _cursorColor

    Declaration
    [Tooltip("Color of the brush cursor when this state is active")]
    [SerializeField]
    protected Color32 _cursorColor
    Field Value
    Type Description
    Color32

    _decreaseBrushSizeKey

    Declaration
    [Tooltip("This key decreases brush size/opacity")]
    [SerializeField]
    protected KeyCode _decreaseBrushSizeKey
    Field Value
    Type Description
    KeyCode

    _decreaseBrushSizeKey2

    Declaration
    [Tooltip("This key decreases brush size/opacity")]
    [SerializeField]
    protected KeyCode _decreaseBrushSizeKey2
    Field Value
    Type Description
    KeyCode

    _increaseBrushSizeKey

    Declaration
    [Tooltip("This key increases brush size/opacity")]
    [SerializeField]
    protected KeyCode _increaseBrushSizeKey
    Field Value
    Type Description
    KeyCode

    _increaseBrushSizeKey2

    Declaration
    [Tooltip("This key increases brush size/opacity")]
    [SerializeField]
    protected KeyCode _increaseBrushSizeKey2
    Field Value
    Type Description
    KeyCode

    _timeTreshold

    Declaration
    [Tooltip("Next change to terrain will be applied not sooner then this time after previous change")]
    [SerializeField]
    protected float _timeTreshold
    Field Value
    Type Description
    float

    allowRightMouseButton

    Declaration
    [Tooltip("If true, applies brush by right mouse click")]
    [SerializeField]
    protected bool allowRightMouseButton
    Field Value
    Type Description
    bool

    Properties

    AllowRightMouseButton

    If true, applies brush by right mouse click

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

    CanChangeBrushSize

    If true, the brush size can be increased/decreased

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

    ChangeBrushSizeKey

    While this key pressed switches from changing size to changing opacity

    Declaration
    public virtual 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
    public virtual KeyCode ChangeModeKey { get; set; }
    Property Value
    Type Description
    KeyCode

    ChangeOpacityKey

    While this key pressed switches from changing size to changing opacity

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

    ChangeOpacityMultiplier

    Gets or sets the multiplier applied to opacity changes.

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

    CursorColor

    Color of the brush cursor when this state is active

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

    DecreaseBrushSizeKey

    This key decreases brush size/opacity

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

    DecreaseBrushSizeKey2

    This key decreases brush size/opacity

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

    IncreaseBrushSizeKey

    This key increases brush size/opacity

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

    IncreaseBrushSizeKey2

    This key increases brush size/opacity

    Declaration
    public virtual 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
    public float TimeTreshold { get; set; }
    Property Value
    Type Description
    float

    Implements

    IHexTerrainBrushUserToolStateConfig
    IHexTerrainUserToolStateConfig
    IUserToolStateConfig

    Extension Methods

    Extensions_UnityObject.SmartDestroy<TObject>(TObject)
    Extensions_UnityObject.SmartDisableGameObject<TObject>(TObject)
    Extensions_UnityObject.SmartEnableGameObject<TObject>(TObject)
    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