Download Now

    Reference Codebot.Animation.pas

    Part of the Codebot package

    The Codebot.Animation unit provides the tools needed to animate values over time. TEasing is a function that describes how a value changes over time, the Easings function gives access to the default easings by name, and Interpolate applies an easing to a value.

    The unit also defines TVec1Prop, TVec2Prop, TVec3Prop, and TVec4Prop, which are vector properties that can be animated independently of the objects that own them, and IPropertyResolver, which finds one of these properties by name. TAnimationTimer is a timer that runs at a fixed 60 frames per second, and the shared Animator moves properties toward their target values over time using an easing.

    Items 104 items

    NameKindLine
    Animatorfunction459
    DependencyLinkprocedure347
    DependencyUnlinkprocedure349
    Easingsfunction89
    IDependencyPropertyinterface97
    GetValuefunction102
    SetValueprocedure104
    Countproperty106
    Interpolatefunction85, 87
    IPropertyResolverinterface377
    Resolvefunction380
    TAnimationTimerclass392
    Createconstructor400
    Destroydestructor402
    Enabledproperty405
    OnTimerproperty407
    TAnimatorclass416
    Animateprocedure440, 441, 444, 445
    Stepprocedure449
    Stopprocedure447
    Animatedproperty451
    OnStartproperty453
    OnStopproperty455
    TDependencyChangeNotifyprocedural112
    TEasingprocedural30
    TEasingDefaultsrecord39
    Boingfunction64
    Bouncefunction56
    Bouncyfunction58
    Dropfunction50
    DropSlowfunction52
    Easyfunction44
    EasySlowfunction46
    Extendfunction48
    Linearfunction42
    Rubberfunction60
    Snapfunction54
    Springfunction62
    TEasingKeyValuealias82
    TEasingsclass71
    TVec1Proprecord118
    Equalsfunction151
    Linkprocedure143, 145
    Linkedfunction149
    Samefunction153
    Unlinkprocedure147
    Valueproperty157
    Vecproperty159
    Xproperty155
    TVec2Proprecord173
    Linkprocedure197, 199
    Linkedfunction203
    Unlinkprocedure201
    AsVec1property208
    Valueproperty210
    Vecproperty212
    Xproperty205
    Yproperty206
    TVec3Proprecord226
    Linkprocedure246, 248
    Linkedfunction252
    Unlinkprocedure250
    AsVec1property264
    AsVec2property265
    Headingproperty259
    Pitchproperty258
    Rollproperty260
    Valueproperty267
    Vecproperty269
    Xproperty254
    XYproperty262
    Yproperty255
    Zproperty256
    TVec4Proprecord283
    Linkprocedure304, 306
    Linkedfunction310
    Unlinkprocedure308
    Alphaproperty320
    AsVec1property330
    AsVec2property331
    AsVec3property332
    Blueproperty319
    Greenproperty318
    Redproperty317
    RGBproperty329
    S0property322
    S1property324
    T0property323
    T1property325
    Valueproperty334
    Vecproperty336
    Wproperty315
    Xproperty312
    XYproperty327
    XYZproperty328
    Yproperty313
    Zproperty314
    TVectorPropertyrecord359
    Resolverfield369
    Vec1Propfield361
    Vec2Propfield363
    Vec3Propfield365
    Vec4Propfield367
    VectorPropertyEmptyfunction385