class RangeAttribute

in global :: Sandbox

Mark this property as a ranged float/int. In inspector we'll be able to create a slider instead of a text entry. TODO: Replace this with the System.ComponentModel.DataAnnotations.Range one - move step and clamped to their own attributes


public float Min { get; }

😔 No documentation found.

public float Max { get; }

😔 No documentation found.

public float Step { get; }

😔 No documentation found.

public bool Slider { get; }

😔 No documentation found.

public bool Clamped { get; }

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public object TypeId { get; }

😔 No documentation found.

public bool Match( object obj )

😔 No documentation found.

public bool IsDefaultAttribute( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public RangeAttribute( float min, float max, float step = 0.01, bool clamped = True, bool slider = True )

😔 No documentation found.