Home
GitHub
Preparing search index...
The search index is not available
VFX-JS
VFX-JS
KeyframeTrack
Class KeyframeTrack
Index
Constructors
constructor
Properties
name
times
values
Value
Type
Name
Time
Buffer
Type
Value
Buffer
Type
Default
Interpolation
Methods
toJSON
Interpolant
Factory
Method
Discrete
Interpolant
Factory
Method
Linear
Interpolant
Factory
Method
Smooth
set
Interpolation
get
Interpolation
create
Interpolant
get
Value
Size
shift
scale
trim
validate
optimize
clone
Constructors
constructor
new
Keyframe
Track
(
name
,
times
,
values
,
interpolation
?
)
:
KeyframeTrack
Parameters
name
:
string
times
:
ArrayLike
<
number
>
values
:
ArrayLike
<
any
>
Optional
interpolation
:
InterpolationModes
Returns
KeyframeTrack
Properties
name
name
:
string
times
times
:
Float32Array
values
values
:
Float32Array
Value
Type
Name
Value
Type
Name
:
string
Time
Buffer
Type
Time
Buffer
Type
:
Float32Array
Value
Buffer
Type
Value
Buffer
Type
:
Float32Array
Default
Interpolation
Default
Interpolation
:
InterpolationModes
Default
THREE
.
InterpolateLinear
Copy
Methods
Static
toJSON
toJSON
(
track
)
:
any
Parameters
track
:
KeyframeTrack
Returns
any
Interpolant
Factory
Method
Discrete
Interpolant
Factory
Method
Discrete
(
result
)
:
DiscreteInterpolant
Parameters
result
:
any
Returns
DiscreteInterpolant
Interpolant
Factory
Method
Linear
Interpolant
Factory
Method
Linear
(
result
)
:
LinearInterpolant
Parameters
result
:
any
Returns
LinearInterpolant
Interpolant
Factory
Method
Smooth
Interpolant
Factory
Method
Smooth
(
result
)
:
CubicInterpolant
Parameters
result
:
any
Returns
CubicInterpolant
set
Interpolation
set
Interpolation
(
interpolation
)
:
KeyframeTrack
Parameters
interpolation
:
InterpolationModes
Returns
KeyframeTrack
get
Interpolation
get
Interpolation
(
)
:
InterpolationModes
Returns
InterpolationModes
create
Interpolant
create
Interpolant
(
)
:
Interpolant
Returns
Interpolant
get
Value
Size
get
Value
Size
(
)
:
number
Returns
number
shift
shift
(
timeOffset
)
:
KeyframeTrack
Parameters
timeOffset
:
number
Returns
KeyframeTrack
scale
scale
(
timeScale
)
:
KeyframeTrack
Parameters
timeScale
:
number
Returns
KeyframeTrack
trim
trim
(
startTime
,
endTime
)
:
KeyframeTrack
Parameters
startTime
:
number
endTime
:
number
Returns
KeyframeTrack
validate
validate
(
)
:
boolean
Returns
boolean
optimize
optimize
(
)
:
KeyframeTrack
Returns
KeyframeTrack
clone
clone
(
)
:
this
Returns
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
name
times
values
Value
Type
Name
Time
Buffer
Type
Value
Buffer
Type
Default
Interpolation
toJSON
Interpolant
Factory
Method
Discrete
Interpolant
Factory
Method
Linear
Interpolant
Factory
Method
Smooth
set
Interpolation
get
Interpolation
create
Interpolant
get
Value
Size
shift
scale
trim
validate
optimize
clone
Home
GitHub
VFX-JS
Loading...
Default