GitHub
Pixels Website
Preparing search index...
The search index is not available
Documentation
Documentation
@systemic-games/pixels-edit-animation
EditAnimationGradient
Class EditAnimationGradient
Base class for animation editing classes.
Hierarchy (
view full
)
EditAnimation
EditAnimationGradient
Index
Constructors
constructor
Properties
anim
Flags
category
die
Type
duration
face
Mask
gradient?
name
type
Accessors
uuid
Methods
collect
Animations
collect
Gradients
collect
Patterns
duplicate
to
Animation
Constructors
constructor
new
Edit
Animation
Gradient
(
opt
?
)
:
EditAnimationGradient
Parameters
Optional
opt
:
EditAnimationParams
&
{
faceMask
?:
number
;
gradient
?:
EditRgbGradient
;
}
Returns
EditAnimationGradient
Properties
anim
Flags
anim
Flags
:
number
category
category
:
|
"system"
|
"uniform"
|
"colorful"
|
"flashy"
|
"animated"
die
Type
die
Type
:
|
"unknown"
|
"d4"
|
"d6"
|
"d8"
|
"d10"
|
"d00"
|
"d12"
|
"d20"
|
"d6pipped"
|
"d6fudge"
duration
duration
:
number
face
Mask
face
Mask
:
number
Optional
gradient
gradient
?:
EditRgbGradient
name
name
:
string
Readonly
type
type
= "gradient"
The animation type.
Accessors
uuid
get
uuid
(
)
:
string
Returns
string
Methods
collect
Animations
collect
Animations
(
)
:
EditAnimation
[]
Returns
EditAnimation
[]
collect
Gradients
collect
Gradients
(
)
:
EditRgbGradient
[]
Returns
EditRgbGradient
[]
collect
Patterns
collect
Patterns
(
)
:
{
grayscale
?:
EditPattern
[]
;
rgb
?:
EditPattern
[]
;
}
Returns
{
grayscale
?:
EditPattern
[]
;
rgb
?:
EditPattern
[]
;
}
Optional
grayscale
?:
EditPattern
[]
Optional
rgb
?:
EditPattern
[]
duplicate
duplicate
(
uuid
?
)
:
EditAnimation
Parameters
Optional
uuid
:
string
Returns
EditAnimation
to
Animation
to
Animation
(
editSet
,
bits
)
:
AnimationPreset
Parameters
editSet
:
EditDataSet
bits
:
AnimationBits
Returns
AnimationPreset
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
anim
Flags
category
die
Type
duration
face
Mask
gradient
name
type
Accessors
uuid
Methods
collect
Animations
collect
Gradients
collect
Patterns
duplicate
to
Animation
GitHub
Pixels Website
Documentation
Loading...
Base class for animation editing classes.