Home
Giro3D framework
Piero application
Getting started with Giro3D
Giro3D examples
API documentation
Version v0.39.0
GitLab
Giro3D API (v0.39.0)
external
three
VectorKeyframeTrack
Class VectorKeyframeTrack
Hierarchy (
view full
)
KeyframeTrack
VectorKeyframeTrack
Index
Constructors
constructor
Properties
Default
Interpolation
Time
Buffer
Type
Value
Buffer
Type
Value
Type
Name
name
times
values
Methods
Interpolant
Factory
Method
Discrete
Interpolant
Factory
Method
Linear
Interpolant
Factory
Method
Smooth
clone
create
Interpolant
get
Interpolation
get
Value
Size
optimize
scale
set
Interpolation
shift
trim
validate
toJSON
Constructors
constructor
new
Vector
Keyframe
Track
(
name
,
times
,
values
,
interpolation
?
)
:
VectorKeyframeTrack
Parameters
name
:
string
times
:
ArrayLike
<
number
>
values
:
ArrayLike
<
number
>
Optional
interpolation
:
InterpolationModes
Returns
VectorKeyframeTrack
Properties
Default
Interpolation
Default
Interpolation
:
InterpolationModes
Default
THREE
.
InterpolateLinear
Copy
Time
Buffer
Type
Time
Buffer
Type
:
Float32Array
Value
Buffer
Type
Value
Buffer
Type
:
Float32Array
Value
Type
Name
Value
Type
Name
:
string
Default
'vector'
Copy
name
name
:
string
times
times
:
Float32Array
values
values
:
Float32Array
Methods
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
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
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
constructor
Default
Interpolation
Time
Buffer
Type
Value
Buffer
Type
Value
Type
Name
name
times
values
Interpolant
Factory
Method
Discrete
Interpolant
Factory
Method
Linear
Interpolant
Factory
Method
Smooth
clone
create
Interpolant
get
Interpolation
get
Value
Size
optimize
scale
set
Interpolation
shift
trim
validate
toJSON
Giro3D API (v0.39.0)
Loading...
Default