9
594 Chapter 12: Animation
K ey T ime Display
TrackView>CurveEditororDopeSheet>KeyStats:
Track View toolbar > Key Time Display (field on left)
The Key Time editable field (the field on the left)
displays the frame number (position in time)
of the selected key. You can enter a new frame
number or enter an expression to move the key
to a frame.
Using Expressions in the Time and Value
Fi eld s
You can enter any expression i n the ti me and
value fields. The variable n stands for the key
time or value. An expression can be as complex
as you want, and can involve any function the
expression controller (page 2–320) uses. For
example, you could enter an expression such as:
n/2+sin(n)*40^n.
The expression parsing in the time field works
only when Time Configuration (page 3–725) >
Time Display is set to Frames. The expression
parser doesn’t understand SMPTE or Frame:Ticks.
Pr ocedur es
Tomoveakeytoaspecificframe:
1.
In Track View, highlight a key.
2. In the Key T ime Display, en ter the frame
number you want to move the key to .
3. Press Enter .
The key (and, in Dope Sheet mo de, any
asso ciated keys) moves to the new time.
To move keys ahead 10 frames:
1.
In the Track View Key window, highlight keys.
2. In the Key Time field, type n+10 .
Selected keys are incremented by 10 f rames.
Value Display
TrackView>CurveEditororDopeSheet>KeyStats:
Track View toolbar > Value Display (field on rig ht)
Value Display (the field on the right) displays
thevalue,orpositioninspace,ofahighlighted
key. This is an editable field. You can enter a
newnumberorexpressiontochangethevalueof
selected keys.
Procedures
Example: To move an object in space using Value
Display :
1.
In the Track View (either mode) Hierarchy
list, expand the Position track of an animated
object. In Curve Editor mode, if Show
Non-Selected Tracks is not active, highlight a
track, if necessary, so the keys are visible.
2. Highlight an X, Y, or Z Position key.
The Value Display shows the X , Y, or Z position
key spatial value.
3. EnterthevalueyouwantintheValueDisplay
and press
Enter .
The new value ta kes effect. If the time slider is
atornearthesameframeasthekey,thechange
is visible in the viewports.
Ex ample: To add 10 t o the v al ues of specific keys :
1.
In Tr ack View, either mode, high light the keys
to edit.
2. In the Value Display field, enter n+10.
Each key’s value is incremented by 10. Simply
entering 10 would give each key a value of 10.