GitHub
Pixels Website
Preparing search index...
The search index is not available
Documentation
Documentation
@systemic-games/pixels-edit-animation
EditRgbGradient
Class EditRgbGradient
Base class for classes used to create and edit animations.
Hierarchy (
view full
)
Editable
EditRgbGradient
Index
Constructors
constructor
Properties
keyframes
name
Accessors
duration
empty
first
Time
last
Time
uuid
Methods
duplicate
create
From
Key
Frames
Constructors
constructor
new
Edit
Rgb
Gradient
(
opt
?
)
:
EditRgbGradient
Parameters
Optional
opt
:
{
keyframes
?:
EditRgbKeyframe
[]
;
uuid
?:
string
;
}
Optional
keyframes
?:
EditRgbKeyframe
[]
Optional
uuid
?:
string
Returns
EditRgbGradient
Properties
keyframes
keyframes
:
EditRgbKeyframe
[]
name
name
:
string
Accessors
duration
get
duration
(
)
:
number
Returns
number
empty
get
empty
(
)
:
boolean
Returns
boolean
first
Time
get
firstTime
(
)
:
number
Returns
number
last
Time
get
lastTime
(
)
:
number
Returns
number
uuid
get
uuid
(
)
:
string
Returns
string
Methods
duplicate
duplicate
(
uuid
?
)
:
EditRgbGradient
Parameters
Optional
uuid
:
string
Returns
EditRgbGradient
Static
create
From
Key
Frames
create
From
Key
Frames
(
keyframes
)
:
EditRgbGradient
Parameters
keyframes
:
{
color
:
Color
;
time
:
number
;
}
[]
Returns
EditRgbGradient
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
keyframes
name
Accessors
duration
empty
first
Time
last
Time
uuid
Methods
duplicate
create
From
Key
Frames
GitHub
Pixels Website
Documentation
Loading...
Base class for classes used to create and edit animations.