Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CurveField

Makes a field for editing an AnimationCurve. For more information, refer to UXML element CurveField.
Read time 8 minutesLast updated 10 days ago

Definition

[Icon("UIToolkit/Icons/CurveField.png")]public class CurveField : BaseField<AnimationCurve>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, INotifyValueChanged<AnimationCurve>, IMixedValueSupport

Static Fields

Value

Description

contentUssClassNameUSS class name of content elements in elements of this type.
inputUssClassNameUSS class name of input elements in elements of this type.
labelUssClassNameUSS class name of labels in elements of this type.
ussClassNameUSS class name of elements of this type.

Constructors

Constructor

Description

CurveField()Initializes and returns an instance of CurveField.
CurveField(System.String)Initializes and returns an instance of CurveField.

Properties

Property

Description

rangesOptional rectangle that the curve is restrained within. If the range width or height is < 0 then CurveField computes an automatic range, which encompasses the whole curve.
renderModeThe RenderMode of CurveField. The default is RenderMode.Default.

Enums

Enum

Description

CurveField.RenderModeRender mode of CurveFields

Inheritance

Inherited Members