BetterModel
Toggle table of contents
1.11.5-SNAPSHOT-344
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.animation
/
AnimationMovement
Animation
Movement
class
AnimationMovement
:
Record
,
Timed
A movement of animation.
Parameters
time
keyframe time
position
position
scale
scale
rotation
rotation
Members
Constructors
Animation
Movement
Link copied to clipboard
constructor
(
time
:
Float
)
Creates empty animation movement
Properties
EMPTY
Link copied to clipboard
val
EMPTY
:
AnimationMovement
Empty movement
Functions
compare
To
Link copied to clipboard
abstract
fun
compareTo
(
p
:
T
)
:
Int
open
fun
compareTo
(
@
NotNull
o
:
@
NotNull
Timed
)
:
Int
empty
Link copied to clipboard
@
NotNull
open
fun
empty
(
)
:
@
NotNull
AnimationMovement
Gets empty movement
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
has
Keyframe
Link copied to clipboard
open
fun
hasKeyframe
(
)
:
Boolean
Checks this movement has some keyframe
time
Link copied to clipboard
@
NotNull
open
fun
time
(
newTime
:
Float
)
:
@
NotNull
AnimationMovement
Sets keyframe time.
abstract
fun
time
(
)
:
Float
Gets time
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String