Table of Contents

Class IntervalRangeAttribute

Namespace
Gamelogic.Fx
Assembly
Gamelogic.Fx.dll

Use this on inspector fields of type Interval to limit tha range.

public class IntervalRangeAttribute : PropertyAttribute
Inheritance
IntervalRangeAttribute
Inherited Members

Constructors

IntervalRangeAttribute(float, float)

Initializes a new instance of IntervalRangeAttribute with the given bounds.

public IntervalRangeAttribute(float min, float max)

Parameters

min float

The minimum allowed value.

max float

The maximum allowed value.

Properties

Max

Gets the maximum allowed value for the interval.

public float Max { get; }

Property Value

float

Min

Gets the minimum allowed value for the interval.

public float Min { get; }

Property Value

float