Class HexTerrainBrushUserToolStateConfigAsset
Inheritance
Object
ScriptableObject
HexTerrainBrushUserToolStateConfigAsset
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
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<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
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 |