Tanoda
Leap.Unity.Attributes.CurveBoundsAttribute Class Reference

You can use this attribute to mark that an AnimationCurve can only have values that fall within specific bounds. The user will be prevented from entering a curve that lies outside of these bounds. More...

Inheritance diagram for Leap.Unity.Attributes.CurveBoundsAttribute:
Leap.Unity.Attributes.CombinablePropertyAttribute Leap.Unity.Attributes.IFullPropertyDrawer Leap.Unity.Attributes.UnitCurveAttribute

Public Member Functions

 CurveBoundsAttribute (Rect bounds)
 
 CurveBoundsAttribute (float width, float height)
 

Public Attributes

readonly Rect bounds
 

Additional Inherited Members

- Properties inherited from Leap.Unity.Attributes.CombinablePropertyAttribute
FieldInfo? fieldInfo [get, protected set]
 
UnityObject[]? targets [get, protected set]
 

Detailed Description

You can use this attribute to mark that an AnimationCurve can only have values that fall within specific bounds. The user will be prevented from entering a curve that lies outside of these bounds.

Definition at line 22 of file CurveBounds.cs.

Constructor & Destructor Documentation

◆ CurveBoundsAttribute() [1/2]

Leap.Unity.Attributes.CurveBoundsAttribute.CurveBoundsAttribute ( Rect  bounds)

Definition at line 25 of file CurveBounds.cs.

◆ CurveBoundsAttribute() [2/2]

Leap.Unity.Attributes.CurveBoundsAttribute.CurveBoundsAttribute ( float  width,
float  height 
)

Definition at line 29 of file CurveBounds.cs.

Member Data Documentation

◆ bounds

readonly Rect Leap.Unity.Attributes.CurveBoundsAttribute.bounds

Definition at line 23 of file CurveBounds.cs.


The documentation for this class was generated from the following file: