2.8. Keyframe

2.8.1. Synopsis

2.8.1.1. Functions

2.8.1.2. Properties

  • property time [read-only] of float

  • property value [read-only] of object

  • property view [read-only] of float

2.8.2. Detailed Description

Keyframe instance holding the target time, view and value fields.

class mocha.project.Keyframe(value, time[, view=View{ 0 }])
class mocha.project.Keyframe(Keyframe)
Keyframe.__repr__()
Return type

unicode

Keyframe.get_time()
Return type

double

Keyframe.get_value()
Return type

object

Keyframe.get_view()
Return type

mocha.project.View

Keyframe.__ne__(rhs)
Return type

bool

Keyframe.__lt__(rhs)
Return type

bool

Keyframe.__eq__(rhs)
Return type

bool

Keyframe.__gt__(rhs)
Return type

bool

Keyframe.time
Type

float

Access

read-only Provides access to the time field.

Keyframe.view
Type

float

Access

read-only Provides access to the view field.

Keyframe.value
Type

object

Access

read-only Provides access to the value field.