Table of Contents

Class FloatRangeAttribute

Namespace
OmegaEngine.Foundation.Design
Assembly
OmegaEngine.Foundation.dll

Stores the minimum and maximum values allowed for a float field or property. Controls the behaviour of AngleEditor.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class FloatRangeAttribute : Attribute, _Attribute
Inheritance
FloatRangeAttribute
Implements
Inherited Members
Extension Methods

Constructors

FloatRangeAttribute(float, float)

Creates a new float range attribute.

public FloatRangeAttribute(float minimum, float maximum)

Parameters

minimum float

The minimum value the field or property may have.

maximum float

The maximum value the field or property may have.

Properties

Maximum

The maximum value the field or property may have.

public float Maximum { get; }

Property Value

float

Minimum

The minimum value the field or property may have.

public float Minimum { get; }

Property Value

float