Home
Giro3D framework
Piero application
Getting started with Giro3D
Giro3D examples
API documentation
Version v0.40.0
GitLab
Giro3D API (v0.40.0)
external
three
KeyframeTrack
Class KeyframeTrack
Hierarchy (
view full
)
KeyframeTrack
VectorKeyframeTrack
StringKeyframeTrack
QuaternionKeyframeTrack
NumberKeyframeTrack
ColorKeyframeTrack
BooleanKeyframeTrack
Index
Constructors
constructor
Properties
Default
Interpolation
name
Time
Buffer
Type
times
Value
Buffer
Type
values
Value
Type
Name
Methods
clone
create
Interpolant
get
Interpolation
get
Value
Size
Interpolant
Factory
Method
Discrete
Interpolant
Factory
Method
Linear
Interpolant
Factory
Method
Smooth
optimize
scale
set
Interpolation
shift
trim
validate
toJSON
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
Default
Interpolation
Default
Interpolation
:
InterpolationModes
Default
THREE
.
InterpolateLinear
Copy
name
name
:
string
Time
Buffer
Type
Time
Buffer
Type
:
Float32Array
times
times
:
Float32Array
Value
Buffer
Type
Value
Buffer
Type
:
Float32Array
values
values
:
Float32Array
Value
Type
Name
Value
Type
Name
:
string
Methods
clone
clone
(
)
:
this
Returns
this
create
Interpolant
create
Interpolant
(
)
:
Interpolant
Returns
Interpolant
get
Interpolation
get
Interpolation
(
)
:
InterpolationModes
Returns
InterpolationModes
get
Value
Size
get
Value
Size
(
)
:
number
Returns
number
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
optimize
optimize
(
)
:
KeyframeTrack
Returns
KeyframeTrack
scale
scale
(
timeScale
)
:
KeyframeTrack
Parameters
timeScale
:
number
Returns
KeyframeTrack
set
Interpolation
set
Interpolation
(
interpolation
)
:
KeyframeTrack
Parameters
interpolation
:
InterpolationModes
Returns
KeyframeTrack
shift
shift
(
timeOffset
)
:
KeyframeTrack
Parameters
timeOffset
:
number
Returns
KeyframeTrack
trim
trim
(
startTime
,
endTime
)
:
KeyframeTrack
Parameters
startTime
:
number
endTime
:
number
Returns
KeyframeTrack
validate
validate
(
)
:
boolean
Returns
boolean
Static
toJSON
toJSON
(
track
)
:
any
Parameters
track
:
KeyframeTrack
Returns
any
Settings
Member Visibility
Protected
Inherited
External
On This Page
Constructors
constructor
Properties
Default
Interpolation
name
Time
Buffer
Type
times
Value
Buffer
Type
values
Value
Type
Name
Methods
clone
create
Interpolant
get
Interpolation
get
Value
Size
Interpolant
Factory
Method
Discrete
Interpolant
Factory
Method
Linear
Interpolant
Factory
Method
Smooth
optimize
scale
set
Interpolation
shift
trim
validate
toJSON
Giro3D API (v0.40.0)
Loading...
Default